Using the Process Analyst > Process Analyst for Developers > Automation Model > IPane.Pens [Property][Get]

IPane.Pens [Property][Get]

Gets a reference to the pens collection object containing the pens for this pane.

Defined As

Execution Result

If the property get succeeds the return value will be Success. If the pane is deleted the return value will be GeneralFailure.

See Also

IPens Interface

Calling Syntax

This example assumes there is a valid Pane object to be passed into the example methods.


Sub Example(pane As Object)
Dim pens As Object
`Getting Property value
Set pens = pane.Pens
End Sub


// Getting property value
OBJECT hPens = _ObjectGetProperty(hPane, "Pens");