Using the Process Analyst > Process Analyst for Developers > Automation Model > IPens.Pane[Property][Get]

IPens.Pane[Property][Get]

Gets the Pane that this Pens collection belongs to.

Defined As

Execution Result

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

Remarks

Each Pens collection belongs to a Pane.

Calling Syntax

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

[VBA]

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

[Cicode]

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