ArcObjects Library Reference (Controls)  

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

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