RemovePage Method
Removes a page from the process at a specified index and deletes it from the file system.
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.
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.