THPDFPage.CreateListBox Method
Σύνοψη μεθόδου: THPDFPage.CreateListBox Method
Δήλωση
function CreateListBox(const FieldName, InitialValue: AnsiString; const Options: array of AnsiString; Rectangle: TRect): THPDFAcroFormField;
Μονάδα
HPDFDoc
Παράμετροι
| Όνομα | Σκοπός |
|---|---|
FieldName | Name of the form field |
InitialValue | Initial selected value |
Options | Available list box values |
Rectangle | Widget rectangle on the page |
Τιμή επιστροφής
THPDFAcroFormField wrapper for the created list box
Σημειώσεις χρήσης
- Use this API when the field needs additional configuration after creation
- Use THPDFPage.AddListBox for the simpler one-call workflow
Σχετικά API
- THPDFPage
- THPDFPage Methods
- AcroForm Support
- THotPDF
- Contents