PDFium Component Docs

AddPage Yöntem

Bu API girdisi tanımlayıcıları, imzaları, kod bloklarını ve PDF terimlerini özgün biçiminde korur.
Bileşen: TPdf  ·  Birim: PDFium
Creates a new blank page with the given dimensions in points.

Söz dizimi

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

Açıklama

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

Eklemek için Index = -1 geçin; aksi halde verilen 0 tabanlı konuma ekleyin. AddPage sonrasında yeni sayfa geçerli sayfa olur

Wraps the corresponding PDFium API and exposes it as a TPdf instance member so consumers do not have to manage FPDF_DOCUMENT handles directly.

Notlar

Örnek

if Pdf1.Active then
  Pdf1.AddPage;

Ayrıca bkz.

DeletePage, ImportPages, PageCount