THPDFPage.CreateCheckBox Method
สรุปเมธอด: THPDFPage.CreateCheckBox Method
การประกาศ
function CreateCheckBox(const FieldName, ExportValue: AnsiString; Rectangle: TRect; Checked: boolean = false): THPDFAcroFormField;
ยูนิต
HPDFDoc
พารามิเตอร์
| ชื่อ | วัตถุประสงค์ |
|---|---|
FieldName | Name of the form field |
ExportValue | Value exported when the check box is selected |
Rectangle | Widget rectangle on the page |
Checked | Initial checked state |
ค่าที่ส่งกลับ
THPDFAcroFormField wrapper for the created check box
หมายเหตุการใช้งาน
- Use the returned wrapper when additional appearance or action configuration is needed
- Use THPDFPage.AddCheckBox for the simpler one-call workflow
API ที่เกี่ยวข้อง
- THPDFPage
- THPDFPage Methods
- AcroForm Support
- THotPDF
- Contents