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

IDisplayTransformation.Bounds Property (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > ID > IDisplayTransformation Interface > IDisplayTransformation.Bounds Property
ArcGIS Developer Help

IDisplayTransformation.Bounds Property

Full extent in world coordinates.

[Visual Basic .NET]
Public Property Bounds As IEnvelope
public IEnvelope Bounds {get; set;}
HRESULT get_Bounds(
  IEnvelope* Bounds
HRESULT put_Bounds(
  IEnvelope** Bounds
Bounds [in]

Bounds is a parameter of type IEnvelope* Bounds [out, retval]
Bounds is a parameter of type IEnvelope**

Product Availability

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


The Bounds property controls the full extent of the display.  IActiveView::FullExtent really stores its full extent here and it has two uses for this property.  In data view, IActiveView calculates the full extent of all the layers and automatically recalculates it whenever the spatial reference changes and when layers are added or removed from the Map.  In layout view, IActiveView stores in FullExtent, the page size (expanded some) and it recalculates this property whenever the page size changes.

Setting the Bounds also sets the VisibleBounds to the same envelope and fires the ITransformEvents::BoundsUpdated and ITransformEvents::VisibleBoundsUpdated events.

See Also

IDisplayTransformation Interface | IActiveView.FullExtent Property | IDisplayTransformation.Bounds Property