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

AVEVA™ Plant SCADA

IPens​.RemoveAll [Method]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Removes every Pen from the Pens collection.

Defined As

  • [VBA] RemoveAll()

  • [Cicode] RemoveAll()

  • [C++] HRESULT RemoveAll()

Execution Result

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

Calling Syntax

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

[VBA]

Sub Panes(pens As Object)
pens.RemoveAll()
End Sub

[Cicode]

FUNCTION Example(OBJECT hPens)
_ObjectCallMethod(hPens, "RemoveAll");
END

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