THPDFPage.CreateComboBox Method
خلاصه متد: THPDFPage.CreateComboBox Method
اعلان
function CreateComboBox(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 combo box values |
Rectangle | Widget rectangle on the page |
مقدار بازگشت
THPDFAcroFormField wrapper for the created combo box
یادداشتهای استفاده
- Keep option values stable when exporting or importing form data
- Use THPDFPage.AddComboBox for the simpler one-call workflow
APIهای مرتبط
- THPDFPage
- THPDFPage Methods
- AcroForm Support
- THotPDF
- Contents