This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IActiveView Interface > IActiveView.IsMapActivated Property (ArcObjects .NET 10.4 SDK) |
Indicates if the focus map is activated.
[Visual Basic .NET] Public Property IsMapActivated As Boolean
[C#] public bool IsMapActivated {get; set;}
[C++]
HRESULT get_IsMapActivated(
VARIANT_BOOL* IsMapActivated
);
[C++]
HRESULT put_IsMapActivated(
VARIANT_BOOL IsMapActivated
);
[C++]
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.