Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

IPane​.Pens [Property][Get]

  • Last UpdatedJul 18, 2023
  • 1 minute read

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

Defined As

  • [VBA] Object Pens

  • [Cicode] OBJECT Pens

  • [C++] IPens* Pens

Execution Result

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

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

See Also

IPens Interface

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in