PDFium Component Docs

Metoda SetFormFieldFlagsAt

Component: TPdf  ·  Unit: PDFium
Nastaví bitové pole Flags u formulářového pole na zadaných souřadnicích

Syntax

procedure SetFormFieldFlagsAt(X, Y: Single; const Flags: TPdfFormFieldFlags);

Description

Sets the Flags bit field on the form field at the given coordinates.

Use to toggle ReadOnly, Required, Multiline, Password, etc. without re-acquiring the index.

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

if Pdf1.Active then
  Pdf1.SetFormFieldFlagsAt;

See Also

FormFieldInfoAt, FormFieldAt