THPDFPage.CreateCheckBox Method
Tóm tắt phương thức: THPDFPage.CreateCheckBox Method
Khai báo
function CreateCheckBox(const FieldName, ExportValue: AnsiString; Rectangle: TRect; Checked: boolean = false): THPDFAcroFormField;
Đơn vị
HPDFDoc
Tham số
| Tên | Mục đích |
|---|---|
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 |
Giá trị trả về
THPDFAcroFormField wrapper for the created check box
Ghi chú sử dụng
- Use the returned wrapper when additional appearance or action configuration is needed
- Use THPDFPage.AddCheckBox for the simpler one-call workflow
API liên quan
- THPDFPage
- THPDFPage Methods
- AcroForm Support
- THotPDF
- Contents