THotPDF.InsertLoadedBlankPage Method

Inserts a blank page with the requested point dimensions at a zero-based position in the loaded document

Declaration

function InsertLoadedBlankPage(PageIndex: Integer; Width, Height: Single): Integer;

Unit

HPDFDoc

Parameters

NamePurpose
PageIndexZero-based insertion position from 0 through the current loaded page count
WidthPositive page width in PDF points
HeightPositive page height in PDF points

Return value

Returns the zero-based index of the inserted page

Usage notes

Related APIs