You are here
Splitting Documents
The DocumentSplit method enables the the creation of a new PDF document from specified pages in an existing PDF document. The method takes the document Id of the original document, an array of page numbers to extract, and the name of the new PDF file that will be created from the specified pages. The new document will be placed in the same folder as the original document and it's document Id is returned.
This method only works with PDF documents. If a non-PDF document is specified as the original document Id, an exception with the message "Cannot operate on this document" will be returned.