Skip to main content
Skip table of contents

RemovePage Method

Removes a page from the process at a specified index and deletes it from the file system.

CODE
public void RemovePage(int index);

Classes: Document


Parameters

int index

The zero-based index of the page to remove.


Example

The following example demonstrates removing the first page of a document.

CODE
Process.Document.RemovePage(0);

Remarks

Throws an InvalidOperationException if called on a GlobalAction process.

Throws an IndexOutOfRangeException if the target index is too large for the document.

JavaScript errors detected

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

If this problem persists, please contact our support.