This document is archived and information here might be outdated. Recommended version. |
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 [in]
Bounds is a parameter of type IEnvelope* Bounds [out, retval]
Bounds is a parameter of type IEnvelope**
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.
IDisplayTransformation Interface | IActiveView.FullExtent Property | IDisplayTransformation.Bounds Property