ExtractPages
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 TDebenuPDFLibrary1811.ExtractPages(StartPage, PageCount: Integer): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::ExtractPages(StartPage As Long,
PageCount As Long) As Long
DLL
int DPLExtractPages(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 |