/
ClearPages Method

ClearPages Method

Clears all pages from the process.

public void ClearPages();

Classes: Document


Example

The following example demonstrates clearning the pages from a GlobalCapture process.

Process.Document.ClearPages();

Remarks

Throws an InvalidOperationException if called on a GlobalAction process.

It is generally not advisable to to clear the pages of a process unless you intend on replacing them with at least 1 new page.  Processes may error if the workflow contains nodes that expect document pages to exist.

Related content

RemovePage Method
RemovePage Method
More like this
Deleting Pages
Deleting Pages
More like this
End Node
More like this
CaptureProcess Class
CaptureProcess Class
More like this
.Removing Documents from a Process v2.2.0
.Removing Documents from a Process v2.2.0
More like this
Delete Pages Node
Delete Pages Node
More like this