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


IGraphicsContainer.LocateElementsByEnvelope Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicsContainer Interface > IGraphicsContainer.LocateElementsByEnvelope Method
ArcGIS Developer Help

IGraphicsContainer.LocateElementsByEnvelope Method

Returns the elements inside the given envelope.

[Visual Basic .NET]
Public Function LocateElementsByEnvelope ( _
    ByVal envelope As IEnvelope _
) As IEnumElement
[C#]
public IEnumElement LocateElementsByEnvelope (
    IEnvelope envelope
);
[C++]
HRESULT LocateElementsByEnvelope(
  IEnvelope* envelope
);
[C++]
Parameters
envelope [in]

envelope is a parameter of type IEnvelope*

Product Availability

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

See Also

IGraphicsContainer Interface