THPDFLoadedFormField Class

Wraps a loaded AcroForm field so applications can inspect geometry and field behaviour whilst reading or updating values, names, options and read-only state

Declaration

THPDFLoadedFormField = class(TObject)

Unit

HPDFDoc

Members

NamePurpose
IndexZero-based form field index in the loaded document
NameGets or changes the fully qualified AcroForm field name
FieldTypeReturns the detected loaded field kind as THPDFLoadedFormFieldType
DescriptionReturns the field tooltip or description text stored in the loaded form
FlagsReturns the raw AcroForm /Ff bit mask
MaxLengthReturns the text field /MaxLen value or zero when absent
PageIndexReturns the zero-based page containing the field widget
Required, NoExportExpose common AcroForm field behaviours
Multiline, PasswordExpose common text-field behaviours
GetBoundsReturns the field widget rectangle when available
ValueGets or sets the current field value through the owning THotPDF instance
ReadOnlyGets or sets the loaded field read-only flag
OptionCountReturns the number of option entries available for choice fields
OptionValueReturns an option value by zero-based option index

Usage notes

Related API