ExtractPages
Extraction, Page manipulation
Description
Copies the selected document to a new document, but retains only the specified pages.
If successful, the new document will be selected and the original document will be removed from memory.
Syntax
Delphi
function TPDFlib.ExtractPages(StartPage, PageCount: Integer): Integer;ActiveX
Function PDFlib::ExtractPages(StartPage As Long, PageCount As Long) As LongDLL
int DLExtractPages(int InstanceID, int StartPage, int PageCount);Parameters
| StartPage | The page number of the first page to extract |
|---|---|
| PageCount | The total number of pages to extract |
Return values
| 0 | Failed, use LastErrorCode for further details |
|---|---|
| 1 | Success |