Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

Clears all pages from the process.


Code Block
public void ClearPages();

Classes: Document


Example

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

Code Block
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.