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