ArcObjects Library Reference (Controls)  

IMapControl2.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(
  IMap** pMap
);
[C++]
HRESULT putref_Map(
  IMap* pMap
);
[C++]

Parameters

pMap [out, retval]

  pMap is a parameter of type IMap

pMap [in]

  pMap is a parameter of type IMap

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

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