vpdf_CopyPages(hVPDFFrom As Long, dwFromPageNumber As Integer, hVPDFTo As Long, dwToPageNumber As Integer, dwNumberOfPages As Integer) As Boolean
Description
The vpdf_CopyPages function copies the specified pages from one PDF document to another. After modifying the pages, the destination PDF file must be saved with the vpdf_SaveVectorPDFFile function.
Parameters
Long |
hVPDFFrom |
Handle to a Vector PDF object to copy the pages from. |
Integer |
dwFromPageNumber |
The 0-based index of the first page to copy from the source document. |
Long |
hVPDFTo |
Handle to the destination Vector PDF object. |
Integer |
dwToPageNumber |
The 0-based index where the pages will be inserted in the destination document. -1 can be used to append to the end of the document. |
Integer |
dwNumberOfPages |
The number of pages to copy. -1 can be used to copy all pages from dwFromPageNumber. |
Return value
TRUE on success, otherwise FALSE.