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

PageCountThe number of pages to add to the document

Return values

0The pages could not be added. This should never occur.
Non-zeroThe total number of pages in the document after the new pages were added