This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapDescription2 Interface > IMapDescription2.MapArea Property (ArcObjects .NET 10.5 SDK) |
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
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.