THotPDF.AddLoadedCheckBox Method
Adds loaded check box data to the page geometry workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing, or page rendering steps
Declaration
function AddLoadedCheckBox(PageIndex: Integer; X1, Y1, X2, Y2: Single; const AFieldName, AExportValue: AnsiString; AChecked: boolean): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index or object index used to select an existing item |
X1 | Input used by AddLoadedCheckBox |
Y1 | Input used by AddLoadedCheckBox |
X2 | Input used by AddLoadedCheckBox |
Y2 | Input used by AddLoadedCheckBox |
AFieldName | AcroForm field name or field dictionary targeted by the helper |
AExportValue | Input used by AddLoadedCheckBox |
AChecked | Input used by AddLoadedCheckBox |
Return value
Returns an Integer value
Usage notes
- Use this API in the page geometry 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
- Loaded-document object references may be indirect; resolve arrays, dictionaries, or streams before inspecting nested values