THPDFPage.CreateListBox Method
Tóm tắt phương thức: THPDFPage.CreateListBox Method
Khai báo
function CreateListBox(const FieldName, InitialValue: AnsiString; const Options: array of AnsiString; Rectangle: TRect): THPDFAcroFormField;
Đơn vị
HPDFDoc
Tham số
| Tên | Mục đích |
|---|---|
FieldName | Name of the form field |
InitialValue | Initial selected value |
Options | Available list box values |
Rectangle | Widget rectangle on the page |
Giá trị trả về
THPDFAcroFormField wrapper for the created list box
Ghi chú sử dụng
- Use this API when the field needs additional configuration after creation
- Use THPDFPage.AddListBox for the simpler one-call workflow
API liên quan
- THPDFPage
- THPDFPage Methods
- AcroForm Support
- THotPDF
- Contents