|
ExtractPagesTo Method |
Top Previous Next |
|
The ExtractPagesTo method is used to extract pages from the currently loaded PDF document to any other PDF document.
Syntax
Parameters
FileName [in] Name of the PDF document to which the pages are to be extracted to.
PageRange [in] The range of pages that are to be extracted from the currently loaded PDF document. It can be indicated in the following ways:
1, 2, 5, 8, 9 ----> Each individual page is considered.
1 - 5 ----> All pages that fall between the range of 1 to 5 are considered.
1 - 5, 8, 9 ----> All pages that fall between the range of 1 to 5 and individual pages 8 and 9 are considered.
Exceptions Raised
An Exception EInvalidPageError is thrown if an invalid page range is specified.
See Tutorial-Extraction(Pages)
|