Versions Compared

Key

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


Excerpt

Gets a page file path from the process at a specified index.


Code Block
public string GetPage(int index);

Classes: Document


Parameters

int index

The zero based index of the page.


Example

The following example demonstrates getting the path of a page within a GlobalCapture process.

Code Block
var pagePath = Process.Document.GetPage(0);

Remarks

Throws an InvalidOperationException if called on a GlobalAction process.

Throws an IndexOutOfRangeException if there is no page at the requested index.