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


IMapControlDefault.ActiveView Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

IMapControlDefault.ActiveView Property

The active view of the Map contained by the MapControl.

[Visual Basic .NET]
Public ReadOnly Property ActiveView As IActiveView
[C#]
public IActiveView ActiveView {get;}
[C++]
HRESULT get_ActiveView(
  IActiveView** ActiveView
);
[C++]

Parameters ActiveView [out, retval]
ActiveView is a parameter of type IActiveView

Product Availability

Available with ArcGIS Engine.

Description

This is the ActiveView on the Map contained within the MapControl.

See Also

IMapControlDefault Interface

.NET Samples

Geoevents in a MapControl (Code Files: GeoEvents)