NewPages
Page manipulation
Description
This function is similar to the NewPage function, but allows you to add more than one new page to the selected document.
Syntax
Delphi
Function TPDFlib.NewPages(PageCount: Integer): Integer;
ActiveX
Function PDFlib::NewPages(PageCount As Long) As Long
DLL
int DLNewPages(int InstanceID, int PageCount);
Parameters
| PageCount | The number of pages to add to the document |
|---|
Return values
| 0 | The pages could not be added. This should never occur. |
|---|---|
| Non-zero | The total number of pages in the document after the new pages were added |