THPDFPage.CreateListBox Method
Resumen del método: THPDFPage.CreateListBox Method
Declaración
function CreateListBox(const FieldName, InitialValue: AnsiString; const Options: array of AnsiString; Rectangle: TRect): THPDFAcroFormField;
Unidad
HPDFDoc
Parámetros
| Nombre | Propósito |
|---|---|
FieldName | Name of the form field |
InitialValue | Initial selected value |
Options | Available list box values |
Rectangle | Widget rectangle on the page |
Valor de retorno
THPDFAcroFormField wrapper for the created list box
Notas de uso
- Use this API when the field needs additional configuration after creation
- Use THPDFPage.AddListBox for the simpler one-call workflow
APIs relacionadas
- THPDFPage
- THPDFPage Methods
- AcroForm Support
- THotPDF
- Contents