InsertPages

Document management, Page manipulation

Description

Inserts one or more blank pages into the document.

Syntax

Delphi

function TPDFlib.InsertPages(StartPage, PageCount: Integer): Integer;

ActiveX

Function PDFlib::InsertPages(StartPage As Long, PageCount As Long) As Long

DLL

int DLInsertPages(int InstanceID, int StartPage, int PageCount);

Parameters

StartPageThe page number of the first page to insert
PageCountThe total number of pages to insert

Return values

0Failed The new total number of pages in the document
Non-zero