PDFium Delphi Component Docs

AddPage metoda

Komponenta: TPdf  ·  Jedinica: PDFium
Stvara novu praznu stranicu zadanih dimenzija u točkama

Sintaksa

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

Opis

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.

Napomene

Primjer

if Pdf1.Active then
  Pdf1.AddPage;

Vidi također

DeletePage, ImportPages, PageCount