PDFium Component Docs

CreateDocument 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
Geçerli belgeyi (varsa) kapatır ve yepyeni boş bir PDF başlatır

Söz dizimi

procedure CreateDocument;

Açıklama

Geçerli belgeyi (varsa) kapatır ve yepyeni boş bir PDF başlatır

The new document has zero pages until AddPage / ImportPages is called.

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.CreateDocument;

Ayrıca bkz.

CreateAttachment, LoadDocument, Active