PDFium Component Docs

AddPage metoda

Component: TPdf  ·  Unit: PDFium
Stvara novu praznu stranicu zadanih dimenzija u točkama

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.

Omotava odgovarajući PDFium API i izlaže ga kao član instance TPdf tako da korisnici ne moraju izravno upravljati FPDF_DOCUMENT ručkama.

Remarks

Example

if Pdf1.Active then
  Pdf1.AddPage;

See Also

DeletePage, ImportPages, PageCount