DANewPage
Direct access functionality, Page manipulation
Description
Adds a new blank page to the end of the document. The page will have a standard size of 612x792 points.
Syntax
Delphi
function TPDFlib.DANewPage(FileHandle: Integer): Integer;ActiveX
Function PDFlib::DANewPage(FileHandle As Long) As LongDLL
int DLDANewPage(int InstanceID, int FileHandle);Parameters
| FileHandle | A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions |
|---|
Return values
| 0 | The specified FileHandle was not valid An ID that can be used as the PageRef parameter for any of the direct access functions |
|---|---|
| Non-zero |