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

IPen.IsDeleted [Property][Get]

Returns whether this pen has been marked for deletion. That is, whether someone has called the Delete method on it or deleted it from the display.

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.Delete [Method]

Calling Syntax

Assumes you have passed a valid pen object into the function.

[VBA]

Sub Example(pen As Object)
Dim deleted As Boolean
deleted = pen.IsDeleted
End Sub

[Cicode]

FUNCTION Example(OBJECT hPen)
INT bDeleted;
bDeleted = _ObjectGetProperty(hPen, "IsDeleted");
END