ArcObjects Library Reference (Controls)  

IMapControl2.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

IMapControl2 Interface

.NET Samples

Geodesy MapControl (Code Files: GeodesyMapControl) | Geoevents in a MapControl (Code Files: GeoEvents) |