This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinSelection Interface > ITinSelection.SetSelected Method (ArcObjects .NET 10.4 SDK) |
Selects the element referenced by the index.
[Visual Basic .NET] Public Sub SetSelected ( _ ByVal Index As Integer, _ ByVal Type As esriTinElementType, _ ByVal action As esriTinSelectionType _ )
[C#] public void SetSelected ( int Index, esriTinElementType Type, esriTinSelectionType action );
[C++]
HRESULT SetSelected(
long Index,
esriTinElementType Type,
esriTinSelectionType action
);
[C++]
Parameters Index [in] Index is a parameter of type long Type [in]
Type is a parameter of type esriTinElementType action [in]
action is a parameter of type esriTinSelectionType
When working with edge selection the software will ensure an edge selected/unselected in one triangle will also select/unselect the corresponding edge in the neighboring triangle. So while there are technically two edges separating adjacent triangles TIN selection handles them logically as one.