NewPage

Page manipulation

Description

Create a new page. The new page is added to the end of the document, and will have the same width and height as the selected page.

Syntax

Delphi

function TPDFlib.NewPage: Integer;

ActiveX

Function PDFlib::NewPage As Long

DLL

int DLNewPage(int InstanceID);

Return values

0The page could not be added. This should never occur.
Non-zeroThe page number of the page that was added