PDFium Delphi Component Docs

FormFill property

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

Syntax

property FormFill: Boolean; // default True

Description

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

Set FormFill to False before opening a document when you only need static rendering or text extraction and want to skip form-fill initialization

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

Remarks

Example

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

See Also

FormHandle, FormType