Using the Process Analyst > Process Analyst for Developers > Automation Model > IPen.IsSelected [Property][Get]

IPen.IsSelected [Property][Get]

Returns whether this pen has been selected in the Process Analyst.

Defined As

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.

See Also

IPen.Select [Method]

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