THPDFLoadedFormField Class
Envuelve un campo AcroForm cargado para que ustedes puedan leer y actualizar valores, nombres, descripciones, opciones y estado de solo lectura
Declaración
THPDFLoadedFormField = class(TObject)
Unidad
HPDFDoc
Parámetros
| Nombre | Uso |
|---|---|
Name | Entrada usada por el flujo de THPDFLoadedFormField |
Value | Entrada usada por el flujo de THPDFLoadedFormField |
Description | THPDFLoadedFormFieldTypeEntrada usada por el flujo de THPDFLoadedFormField |
Description | Returns the field tooltip or description text stored in the loaded form |
Flags | Returns the raw AcroForm /Ff bit mask |
MaxLength | Returns the text field /MaxLen value or zero when absent |
PageIndex | Returns the zero-based page containing the field widget |
Required, NoExport | Expose common AcroForm field behaviours |
Multiline, Password | Expose common text-field behaviours |
GetBounds | Returns the field widget rectangle when available |
Value | Gets or sets the current field value through the owning THotPDF instance |
OptionCount | Entrada usada por el flujo de THPDFLoadedFormField |
ReadOnly | Entrada usada por el flujo de THPDFLoadedFormField |
OptionValue | Entrada usada por el flujo de THPDFLoadedFormField |
Notas de uso
The returned object forwards changes to the owning THotPDF instance- Free the wrapper when the field update is complete
- Use
OptionCountandOptionValuewhen enumerating combo box, list box, or radio button choices from a loaded document - Use
Name,Value, andReadOnlyfor wrapper-style edits when code already works with a loaded field object instead of direct field-name calls - Use
PageIndexandGetBoundsto build Viewer hit testing and field property panels without walking PDF dictionaries