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


IGraphicsContainer.LocateElementsByEnvelope Method (ArcObjects .NET 10.6 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
);
[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