THotPDF.RefreshLoadedFieldValueAppearance Method
Rebuilds the appearance stream of a loaded text or choice form field so its widget shows the current /V value
Declaration
procedure RefreshLoadedFieldValueAppearance(FieldIndex: Integer);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FieldIndex | Zero-based index of the loaded form field, as used by SetFormFieldValue and related field accessors |
Return value
This member does not return a value
Usage notes
- Only text and choice fields are rebuilt; check boxes and radio buttons manage their appearance states through
SetFormFieldValuedirectly - Call it after editing a field's /V, flags, or appearance-related dictionary entries outside the high-level setters, before saving the document
- The high-level value setters call this automatically, so an explicit call is only needed for out-of-band dictionary edits