THPDFPage.CreateRadioButton Method
Method summary: THPDFPage.CreateRadioButton Method
Declaration
function CreateRadioButton(const GroupName, ExportValue: AnsiString; Rectangle: TRect; Selected: boolean = false): THPDFAcroFormField;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
GroupName | Radio button group name |
ExportValue | Value exported when this option is selected |
Rectangle | Widget rectangle on the page |
Selected | Initial selected state |
Flags | Input supplied to CreateRadioButton |
Return value
THPDFAcroFormField wrapper for the created radio button
Usage notes
- Use this API in the AcroForm workflow before the affected page, resource, field or catalogue object is finalised
- Keep object names, field names, resource names and returned handles stable until the document is finalised
- Use THPDFPage.AddRadioButton for the simpler one-call workflow
Related APIs
- THPDFPage
- THPDFPage Methods
- AcroForm Support