I see that different starting points are used when interacting with ArcMap IMxDocument
IMxDocument mxDocument = application.Document as IMxDocument; IActiveView activeView = mxDocument.ActiveView; //IActiveView activeView = mxDocument.FocusMap as IActiveView; //IActiveView activeView = mxDocument.PageLayout as IActiveView; // Get an envelope corresponding to the view extent. IEnvelope envelope = activeView.Extent;
What is the difference between mxDocument.ActiveView, mxDocument.FocusMap and mxDocument.PageLayout related their extent? Are they going to be different?
In what case each can be used?