ArcObjects Library Reference (Carto)  

IMapDescription2.MapArea Property

The display area of the map (data frame).

[Visual Basic .NET]
Public Property MapArea As IMapArea
[C#]
public IMapArea MapArea {get; set;}
[C++]
HRESULT get_MapArea(
  IMapArea** area
);
[C++]
HRESULT put_MapArea(
  IMapArea* area
);
[C++]

Parameters

area [out, retval]

  area is a parameter of type IMapArea

area [in]

  area is a parameter of type IMapArea

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

MapArea contains the abstract IMapArea interface. With this interface you can retrieve the extent of a map or bookmark (IMapServerBookmark).  If you want to change the extent of a map use IMapExtent, ICenterAndSize, ICenterAndScale and IFeatureExtent. By default, the MapArea object is of type MapExtent.

See Also

IMapDescription2 Interface