PDFium Delphi Component Docs

FormFill property

Component: TPdf  ·  Unit: PDFium
Controls whether interactive AcroForm form filling is initialised when a document is opened

Syntax

property FormFill: Boolean; // default True

Description

When FormFill is True (the default), opening a document starts PDFium's interactive form-fill environment (FPDFDOC_InitFormFillEnvironment)

Set FormFill to False before opening a document when only static rendering or text extraction is needed and form-fill initialisation should be skipped

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

Remarks

Example

Pdf1.Active := False;
Pdf1.FormFill := True;
Pdf1.Active := True;

See Also

FormHandle, FormType