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.
If the property get succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument.
Assumes you have passed a valid pen object into the function.
Sub Example(pen As Object)
Dim deleted As Boolean
deleted = pen.IsDeleted
FUNCTION Example(OBJECT hPen)
bDeleted = _ObjectGetProperty(hPen, "IsDeleted");