THotPDF.SetLoadedFormFieldBackgroundColor Method
Sets loaded form field background color state for subsequent graphics and colour management output. The setting affects later page drawing, page dictionary entries, conformance metadata, or text emission rather than already-written content
Declaration
procedure SetLoadedFormFieldBackgroundColor(FieldIndex: Integer; ARed, AGreen, ABlue: Single);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FieldIndex | AcroForm field name or field dictionary targeted by the helper |
ARed | Input used by SetLoadedFormFieldBackgroundColor |
AGreen | Input used by SetLoadedFormFieldBackgroundColor |
ABlue | Input used by SetLoadedFormFieldBackgroundColor |
Return value
This member does not return a value
Usage notes
- Use this API in the graphics and colour management workflow before the affected page, resource, field, or catalog object is finalised
- Keep object names, field names, resource names, and returned handles stable until the document is finalised
- Register named colour resources before using them from page-level painting commands
- Loaded-document object references may be indirect; resolve arrays, dictionaries, or streams before inspecting nested values