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


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

IMapControl4.Map Property

The Map contained by the MapControl.

[Visual Basic .NET]
Public Property Map As IMap
[C#]
public IMap Map {get; set;}
[C++]
HRESULT get_Map(
void
);
[C++]
HRESULT putref_Map(
);

Product Availability

Available with ArcGIS Engine.

Description

This is the Map CoClass contained within the MapControl. If the Map is replaced the IMapControlEvents2::OnMapReplaced event is triggered.

See Also

IMapControl4 Interface | IMapControl3.MapScale Property | IMapControl4.MapScale Property | IMapControl2.MapScale Property | IMapControl2.MapUnits Property | IMapControl4.MapUnits Property | IMapControl3.MapUnits Property | IMapControl4.ReferenceScale Property | IMapControl3.ReferenceScale Property | IMapControl2.ReferenceScale Property | IMapControl2.SpatialReference Property | IMapControl4.SpatialReference Property | IMapControl3.SpatialReference Property