This document is archived and information here might be outdated.  Recommended version.

IActiveView.IsActive Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IA > IActiveView Interface > IActiveView.IsActive Method
ArcGIS Developer Help

IActiveView.IsActive Method

Indicates if view is active or not.

[Visual Basic .NET]
Public Function IsActive ( _
) As Boolean
public bool IsActive (

Product Availability

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


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