Skip to main content
Skip table of contents

ClearPages Method

Clears all pages from the process.

CODE
public void ClearPages();

Classes: Document


Example

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

CODE
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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.