DANewPages
Direct access functionality, Page manipulation
Description
Adds a number of new pages to the end of the document. All new pages have a standard size of 612x792 points.
Syntax
Delphi
function TPDFlib.DANewPages(FileHandle, PageCount: Integer): Integer;ActiveX
Function PDFlib::DANewPages(FileHandle As Long, PageCount As Long) As LongDLL
int DLDANewPages(int InstanceID, int FileHandle, int PageCount);Parameters
| FileHandle | A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions |
|---|---|
| PageCount | The number of pages to add to the document |
Return values
| 0 | The specified FileHandle was not valid |
|---|---|
| Non-zero | The total number of pages in the document after the new pages were added |