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


IMapControl2.ActiveView Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IM > IMapControl2 Interface > IMapControl2.ActiveView Property
ArcGIS Developer Help

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(
void
);

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