THPDFPage.CreateCheckBox Method
方法摘要: THPDFPage.CreateCheckBox Method
声明
function CreateCheckBox(const FieldName, ExportValue: AnsiString; Rectangle: TRect; Checked: boolean = false): THPDFAcroFormField;
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
FieldName | 该辅助方法所针对的 AcroForm 字段名称或字段字典 |
ExportValue | CreateCheckBox 使用的输入 |
Rectangle | 应用操作的页面区域或控件矩形 |
Checked | CreateCheckBox 使用的输入 |
Flags | CreateCheckBox 使用的输入 |
返回值
THPDFAcroFormField wrapper for the created check box
使用说明
- 在受影响的页面、资源、字段或 catalog 对象定稿之前,于页面几何工作流中使用该成员
- Use the returned wrapper when additional appearance or action configuration is needed
- Use THPDFPage.AddCheckBox for the simpler one-call workflow