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


IMapControl2.ActiveView Property (ArcObjects .NET 10.5 SDK)
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

Geoevents in a MapControl (Code Files: GeoEvents)