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 |
Return value
THPDFAcroFormField wrapper for the created radio button
Usage notes
- Use the same group name for mutually exclusive radio button choices
- Use THPDFPage.AddRadioButton for the simpler one-call workflow
Related APIs
- THPDFPage
- THPDFPage Methods
- AcroForm Support
- THotPDF
- Contents