THPDFPage.CreateComboBox Method
Resumen del método: THPDFPage.CreateComboBox Method
Declaración
function CreateComboBox(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 combo box values |
Rectangle | Widget rectangle on the page |
Valor de retorno
THPDFAcroFormField wrapper for the created combo box
Notas de uso
- Keep option values stable when exporting or importing form data
- Use THPDFPage.AddComboBox for the simpler one-call workflow
APIs relacionadas
- THPDFPage
- THPDFPage Methods
- AcroForm Support
- THotPDF
- Contents