Skip to main content
Skip table of contents

AddPage Method

Adds a file page to the process.

CODE
public void AddPage(string path);

Classes: Document


Parameters

string path

Path pointing to the page to add to the process.


Example

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

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

Remarks

Throws an InvalidOperationException if called on a GlobalAction process.

This method only supports adding single page files. If you wish to insert multiple pages, please separate the document into single page files through other means before adding them using this method or the InsertPage method.

You can only add PDF and TIF/TIFF files to a process document. Additionally, you can only add a file to a document if it matches the extension of the existing document. For example, it is not supported to add a TIF file to a PDF document.

JavaScript errors detected

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

If this problem persists, please contact our support.