Indicates if view is active or not.
[Visual Basic 6.0] Function IsActive As Boolean
[Visual Basic .NET] Public Function IsActive ( _ ) As Boolean
[C#] public bool IsActive ( );
[Java] public Boolean isActive ( ) throws IOException, AutomationException
[C++]
HRESULT IsActive(
VARIANT_BOOL* IsActive
);
Parameters
IsActive [out, retval]
IsActive is a parameter of type VARIANT_BOOL
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).