THPDFPage.CreateComboBox Method
方法摘要: THPDFPage.CreateComboBox Method
声明
function CreateComboBox(const FieldName, InitialValue: AnsiString; const Options: array of AnsiString; Rectangle: TRect): THPDFAcroFormField;
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
FieldName | 该辅助方法所针对的 AcroForm 字段名称或字段字典 |
InitialValue | CreateComboBox 使用的输入 |
Options | CreateComboBox 使用的输入 |
Rectangle | 应用操作的页面区域或控件矩形 |
Flags | CreateComboBox 使用的输入 |
返回值
THPDFAcroFormField wrapper for the created combo box
使用说明
- 在受影响的页面、资源、字段或 catalog 对象定稿之前,于页面几何工作流中使用该成员
- Keep option values stable when exporting or importing form data
- Use THPDFPage.AddComboBox for the simpler one-call workflow