This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicsContainerSelect Interface > IGraphicsContainerSelect.SelectionBounds Property (ArcObjects .NET 10.4 SDK) |
The bounds of the selection.
[Visual Basic .NET] Public Function get_SelectionBounds ( _ ByVal Display As IDisplay _ ) As IEnvelope
[C#] public IEnvelope get_SelectionBounds ( IDisplay Display );
[C++]
HRESULT get_SelectionBounds(
IDisplay* Display,
IEnvelope** Bounds
);
[C++]
Parameters Display [in]
Display is a parameter of type IDisplay Bounds [out, retval]
Bounds is a parameter of type IEnvelope
Returns an IEnvelope reference on a new Envelope object. The envelope represents the minimum bounds around the selected elements. This is useful when refreshing the element selection. For example, IActiveView::PartialRefresh uses this property when its phase is set to esriViewGraphicsSelection.