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


IGraphicsContainerSelect.SelectionBounds Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicsContainerSelect Interface > IGraphicsContainerSelect.SelectionBounds Property
ArcGIS Developer Help

IGraphicsContainerSelect.SelectionBounds Property

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**

Product Availability

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

Remarks

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.

See Also

IGraphicsContainerSelect Interface