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


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

IMapFrame.MapBounds Property

The bounds of the map displayed by the frame.

[Visual Basic .NET]
Public Property MapBounds As IEnvelope
[C#]
public IEnvelope MapBounds {get; set;}
[C++]
HRESULT get_MapBounds(
  IEnvelope** Bounds
);
[C++]
HRESULT put_MapBounds(
  IEnvelope* Bounds
);
[C++]
Parameters
Bounds [out, retval]

Bounds is a parameter of type IEnvelope** Bounds [in]
Bounds is a parameter of type IEnvelope*

Product Availability

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

Remarks

The MapBounds property returns or sets the boundary (extent) of the map being shown in the frame.  Use this property when you want to explicitly specify the coordinates of the data shown within the frame.

 

See Also

IMapFrame Interface | IMapFrame Interface | MapFrame Class | IMapFrame.Map Property