ArcObjects Library Reference (Display)  

IDisplayTransformation.Bounds Property

Full extent in world coordinates.

[Visual Basic .NET]
Public Property Bounds As IEnvelope
[C#]
public IEnvelope Bounds {get; set;}
[C++]
HRESULT get_Bounds(
  IEnvelope** Bounds
);
[C++]
HRESULT put_Bounds(
  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 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