Indicates if the focus map is activated.
[Visual Basic 6.0] Property IsMapActivated As Boolean
[Visual Basic .NET] Public Property IsMapActivated As Boolean
[C#] public bool IsMapActivated {get; set;}
[Java] public getIsMapActivated ( boolean IsMapActivated )
[Java] public void setIsMapActivated( boolean IsMapActivated ) throws IOException, AutomationException
[C++]
HRESULT get_IsMapActivated(
VARIANT_BOOL* IsMapActivated
);
[C++] HRESULT put_IsMapActivated( VARIANT_BOOL IsMapActivated);
Parameters
IsMapActivated [out, retval]
IsMapActivated is a parameter of type VARIANT_BOOL
IsMapActivated [in]
IsMapActivated is a parameter of type VARIANT_BOOL
In ArcMap's layout view, when the focus map is activated by double-clicking on it, new graphic elements are added to the Map's active graphics layer. When the focus map is not activated, the default, graphic elements are added to the PageLayout object. Both the Map and PageLayout objects are graphics containers, setting this property to TRUE diverts graphics from the PageLayout to the focus Map.
A Map can be activated in both layout and data views.
When this property is set to TRUE, IActiveView::PartialRefresh is called for the esriViewGraphicSelection draw phase.
IActiveView Interface | IMxDocument.ActivatedView Property