|
THotPDF.EnsureLoadedFieldAppearanceStream
|
Top Previous Next |
|
Ensures the appearance stream is generated for a form field
Delphi syntax: function EnsureLoadedFieldAppearanceStream( FieldIndex: Integer ): boolean;
Description Ensures the appearance stream is generated for a form field For native loaded widgets rotated by Generated button normal appearances, including checkbox and radio On and Off states, use the same logical bounds and rotation transform SetLoadedFormFieldRotation writes MK.R only; call this method explicitly to regenerate AP, without changing field values or headless rotation behaviour Force updates the field visual representation After SetLoadedFormFieldOptions, explicitly call this method when refreshed output is needed; option replacement does not automatically regenerate AP and AutoFormAppearances is not a loaded-field refresh switch Choice layout consumes final stored option order and effective selection and viewport state without another ffSort pass; only valid existing explicit TI is remapped by replacement, whilst absent or invalid TI retains the existing storage and rendering interpretation; retained fractional index tokens are not rounded into valid replacement indices A widget inheriting updated field TI retains that inheritance; a widget with its own Opt keeps its own option index space and preserved I semantics rather than consuming incompatible new field indices Choice fields decode Unicode option strings and match stored export values to display labels without changing Combo boxes display a matching option label or the custom value; list boxes display their options even when no option is selected and highlight single or multiple selections, using selection indices to distinguish duplicate export values Visible listbox option labels use the effective field
See also: THotPDF |