PDFium Component Docs

SetFormFieldFlagsAt Метод

Компонент: TPdf  ·  Модуль: PDFium
Sets the Flags bit field on the form field at the given coordinates.

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.

Обёртывает соответствующий API PDFium и предоставляет его как член экземпляра TPdf, чтобы потребителям не приходилось управлять дескрипторами FPDF_DOCUMENT напрямую

Remarks

Example

if Pdf1.Active then
  Pdf1.SetFormFieldFlagsAt;

See Also

FormFieldInfoAt, FormFieldAt