THPDFPage.CreateRadioButton Method
สรุปเมธอด: THPDFPage.CreateRadioButton Method
การประกาศ
function CreateRadioButton(const GroupName, ExportValue: AnsiString; Rectangle: TRect; Selected: boolean = false): THPDFAcroFormField;
ยูนิต
HPDFDoc
พารามิเตอร์
| ชื่อ | วัตถุประสงค์ |
|---|---|
GroupName | Radio button group name |
ExportValue | Value exported when this option is selected |
Rectangle | Widget rectangle on the page |
Selected | Initial selected state |
ค่าที่ส่งกลับ
THPDFAcroFormField wrapper for the created radio button
หมายเหตุการใช้งาน
- Use the same group name for mutually exclusive radio button choices
- Use THPDFPage.AddRadioButton for the simpler one-call workflow
API ที่เกี่ยวข้อง
- THPDFPage
- THPDFPage Methods
- AcroForm Support
- THotPDF
- Contents