ArcObjects Library Reference (GeoDatabase)  

ITinSelection.SelectByEnvelope Method

Selects all elements of the specified element type in a specified rectangular envelope.

[Visual Basic .NET]
Public Sub SelectByEnvelope ( _
    ByVal Type As esriTinElementType, _
    ByVal pEnvelope As IEnvelope, _
    ByVal bPassThrough As Boolean, _
    ByVal bDataElementsOnly As Boolean, _
    ByVal action As esriTinSelectionType _
)
[C#]
public void SelectByEnvelope (
    esriTinElementType Type,
    IEnvelope pEnvelope,
    bool bPassThrough,
    bool bDataElementsOnly,
    esriTinSelectionType action
);
[C++]
HRESULT SelectByEnvelope(
  esriTinElementType Type,
  IEnvelope* pEnvelope,
  VARIANT_BOOL bPassThrough,
  VARIANT_BOOL bDataElementsOnly,
  esriTinSelectionType action
);
[C++]

Parameters

Type [in]

  Type is a parameter of type esriTinElementType

pEnvelope [in]

  pEnvelope is a parameter of type IEnvelope

bPassThrough [in]   bPassThrough is a parameter of type VARIANT_BOOL bDataElementsOnly [in]   bDataElementsOnly is a parameter of type VARIANT_BOOL action [in]

  action is a parameter of type esriTinSelectionType

Product Availability

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

See Also

ITinSelection Interface