IPen.IsSelected [Property][Get]
- Last UpdatedJul 18, 2023
- 1 minute read
Returns whether this pen has been selected in the Process Analyst.
Defined As
-
[VBA] Boolean IsSelected
-
[Cicode] INT IsSelected
-
[C++] VARIANT_BOOL IsSelected
Execution Result
If the property get succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument.
Calling Syntax
Assumes you have passed a valid pen object into the function.
[VBA]
Sub Example(pen As Object)
Dim selected As Boolean
selected = pen.IsSelected
End Sub
[Cicode]
FUNCTION Example(OBJECT hPen)
INT bSelected;
bSelected = _ObjectGetProperty(hPen, "IsSelected");
END