AnsweredAssumed Answered

Get Position of Page Layout

Question asked by on Jun 8, 2017
Latest reply on Jun 14, 2017 by

I'm trying to get the pixel location of where the upper left corner of the ArcMap application is and more importantly the location of data frame on the page layout.  How can I do that in ArcObjects?  If, for example, ArcMap's upper left corner is slightly away from the screen's upper left corner, how do I get that offset and where does the data frame start (in pixel space relative to the screen's 0,0 position) ?   IActiveView:Extent.XMin seems tells you how far the PageLayout is from the left edge of its container, but I don't know how far that container is from the left edge of ArcMap or how far ArcMap is from the left edge of the screen.