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


IGraphicsContainer.LocateElementsByEnvelope Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

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,
  IEnumElement** Elements
);
[C++]

Parameters envelope [in]
envelope is a parameter of type IEnvelope Elements [out, retval]
Elements is a parameter of type IEnumElement

Product Availability

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

See Also

IGraphicsContainer Interface