AGI STK Esri Display 11 Send comments on this topic.
SelectFeatures Method (IAgEsri3dRenderer)
See Also 
Layer
Specifies an ILayer object containing the feature to flash.
Features
Features to select: array of IFeature objects.
SelectionResult
Define combination methods for selection operations i.e. how the selection performed will combine with an existing selection.
Refresh
If True, calls automatically Refresh(True) after updating the selection.





Description

Select the specified features. Optionally refreshes the GIS information.

Syntax

[Visual Basic .NET]
Public Sub SelectFeatures( _
   ByVal Layer As ILayer, _
   ByRef Features As System.Array, _
   ByVal SelectionResult As ISelectionResult, _
   ByVal Refresh As Boolean _
) 

[C#]
public void SelectFeatures(
ILayer Layer,
ref System.Array Features,
ISelectionResult SelectionResult,
bool Refresh
);

[Managed C++]
public: void SelectFeatures(
ILayer ^ Layer,
System::Array ^^ Features,
ISelectionResult ^ SelectionResult,
bool Refresh
);

[Java]
public  selectFeatures(
ILayer Layer,
Object[] Features,
ISelectionResult SelectionResult,
bool Refresh
);

[Unmanaged C++]
public: HRESULT SelectFeatures(
ILayer * Layer,
SAFEARRAY ** Features,
ISelectionResult * SelectionResult,
VARIANT_BOOL Refresh
);

Parameters

Layer
Specifies an ILayer object containing the feature to flash.
Features
Features to select: array of IFeature objects.
SelectionResult
Define combination methods for selection operations i.e. how the selection performed will combine with an existing selection.
Refresh
If True, calls automatically Refresh(True) after updating the selection.

Remarks

Uses IFeatureSelection and its associated ISelectionSet to select the features specified by the array of features passed in.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1