CaptureDocument Class

Represents the document of a GlobalCapture process, containing methods and properties for interaction with a GlobalCapture document.

public class CaptureDocument

Example

The following example demonstrates adding a page to a GlobalCapture document.

Process.Document.AddPage(@"C:\Documents\newpage.pdf");

Remarks

A multi-page GlobalCapture document can be stored as single file, or separated into a series of single page PDF files. If needed and able, the page manipulation methods on this class will perform a separation on a document before the requested operation is performed.

Properties

int PageCount

Number of pages on the process.

Methods

  • Page:
    AddPage Method — Adds a file page to the process.

  • Page:
    ClearPages Method — Clears all pages from the process.

  • Page:
    GetPage Method — Gets a page file path from the process at a specified index.

  • Page:
    GetPages Method — Gets the full list of page file paths from the process.

  • Page:
    InsertPage Method — Inserts a file page to the process at a specific index.

  • Page:
    MergePages Method — Merges a separated document into a single file on the process.

  • Page:
    MovePage Method — Moves a page from one index in the page array to another.

  • Page:
    RemovePage Method — Removes a page from the process at a specified index and deletes it from the file system.

  • Page:
    ReplacePage Method — Replaces a page at a specific index on the process with another page.