ArcObjects Library Reference (Carto)  

IActiveView.IsActive Method

Indicates if view is active or not.

[Visual Basic .NET]
Public Function IsActive ( _
) As Boolean
[C#]
public bool IsActive (
);
[C++]
HRESULT IsActive(
  VARIANT_BOOL* IsActive
);
[C++]

Parameters

IsActive [out, retval]   IsActive is a parameter of type VARIANT_BOOL

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

In layout view, all of the Maps and the PageLayout are active.  In data view, only the focus map is active. 

The PageLayout object uses this property when adding Elements; if the PageLayout is active, new elements are activated (IElement::Activate).

See Also

IActiveView Interface