Using the Process Analyst > Process Analyst for Developers > Automation Model > IPane.Delete [Method]

IPane.Delete [Method]

Removes this Pane from the collection and the display.

Defined As

Execution Result

If the method succeeds, the return value will be Success. If the pane is already deleted, the return value will be GeneralFailure.

Remarks

Any pen associated with the pane will also be deleted.

Calling Syntax

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

[VBA]

Sub Panes(Pane As Object)
Pane.Delete()
End Sub

[Cicode]

FUNCTION Example(OBJECT hPane)
_ObjectCallMethod(hPane, "Delete");
END