This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicsContainer Interface > IGraphicsContainer.LocateElementsByEnvelope Method (ArcObjects .NET 10.4 SDK) |
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