THotPDF.AddLoadedRadioButton Method
Adds loaded radio button data to the AcroForm workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing, or page rendering steps
Declaration
function AddLoadedRadioButton(PageIndex: Integer; X1, Y1, X2, Y2: Single; const AGroupName, AExportValue: AnsiString; ASelected: boolean): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index or object index used to select an existing item |
X1 | Input used by AddLoadedRadioButton |
Y1 | Input used by AddLoadedRadioButton |
X2 | Input used by AddLoadedRadioButton |
Y2 | Input used by AddLoadedRadioButton |
AGroupName | PDF resource name, packet name, profile name, or caller-defined identifier |
AExportValue | Input used by AddLoadedRadioButton |
ASelected | Input used by AddLoadedRadioButton |
Return value
Returns an Integer value
Usage notes
- Use this API in the AcroForm 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