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.

[VBA]

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

[Cicode]

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