PDFium Delphi Component Docs

ImportPreferences function

Component: TPdf  ·  Unit: PDFium
Bit set controlling how ImportPages copies content (resources, named destinations, comments and so on).

Syntax

function ImportPreferences(Pdf: TPdf): Boolean;

Description

Bit set controlling how ImportPages copies content (resources, named destinations, comments and so on)

Set this before calling ImportPages

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

Remarks

Example

if Pdf1.Active then
  Pdf1.ImportPreferences(SourcePdf);

See Also

ImportPages, AddPage