PDFium Component Docs

AddPage-metodi

Component: TPdf  ·  Unit: PDFium
Luo uuden tyhjän sivun annetuilla mitoilla pisteinä

Syntax

procedure AddPage(PageNumber: Integer; Width, Height: Double);

Description

Creates a new blank page with the given dimensions in points.

Pass Index = -1 to append; otherwise insert at the given zero-based position. After AddPage the new page becomes current.

Käärii vastaavan PDFium-API:n ja altistaa sen TPdf-instanssin jäsenenä, joten kuluttajien ei tarvitse hallita FPDF_DOCUMENT-kahvoja suoraan

Remarks

Example

if Pdf1.Active then
  Pdf1.AddPage;

See Also

DeletePage, ImportPages, PageCount