AnsweredAssumed Answered

How do I obtain the envelope of a data frame in Layout?

Question asked by jakubsisak on Jul 6, 2012
Latest reply on Jul 9, 2012 by jakubsisak
How can I programatically obtain the corner coordinates (in page units) or the envelope of the data frame in layout view?

  I don't seem to be able to do this with iActiveView:Extent as it is  returning the extent of the data view in page units. The below screen  capture shows what I would like to get. The coordinates are roughly;  upper left 0.9,10 and lower right 8, 0.9. Even in page layout  iActive:extent returns: upper left -3.4, 12 and lower right 14,-3 which  is the extent of the entire application window not the data frame as it  appears in layout.
[ATTACH=CONFIG]15823[/ATTACH]

Attachments

Outcomes