PDFium Component Docs

CreateDocument Methode

Dieser API-Eintrag behält Bezeichner, Signaturen, Codeblöcke und PDF-Begriffe in ihrer Originalform.
Komponente: TPdf  ·  Unit: PDFium
Schließt das aktuelle Dokument (falls vorhanden) und startet ein brandneues leeres PDF

Syntax

procedure CreateDocument;

Beschreibung

Schließt das aktuelle Dokument (falls vorhanden) und startet ein brandneues leeres PDF

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.

Hinweise

Beispiel

if Pdf1.Active then
  Pdf1.CreateDocument;

Siehe auch

CreateAttachment, LoadDocument, Active