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


IMapDescription2.MapArea Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapDescription2 Interface > IMapDescription2.MapArea Property
ArcGIS Developer Help

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