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