Gets a value indicating whether the specified component is currently selected.
Namespace: Ico.GwxAssembly: Gwx3DControl (in Gwx3DControl.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public bool GetComponentSelected( Object component ) |
Visual Basic |
---|
Public Function GetComponentSelected ( _ component As Object _ ) As Boolean |
JScript |
---|
public final function GetComponentSelected( component : Object ) : boolean |
Parameters
- component
- Type: System..::..Object
The component to test.
Return Value
true if the component is part of the user's current selection; otherwise, false.Implements
ISelectionService..::..GetComponentSelected(Object)Remarks
This method can be used to check whether a specific component is currently selected. This process is generally quicker than getting and parsing the entire list of selected components.
The component can be an object of type GeometryModel3D, Primitive3D, ModelVisual3D, Model3DGroup