THPDFPage.AddPushButtonWithActionBuilder Method
添加按钮表单字段,并用 THPDFActionBuilder 提供激活动作
声明
procedure AddPushButtonWithActionBuilder(const FieldName, Caption: AnsiString; Rectangle: TRect; Action: THPDFActionBuilder; Flags: THPDFFormFieldFlags = []);
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
FieldName | AddPushButtonWithActionBuilder 工作流使用的输入值 |
Caption | AddPushButtonWithActionBuilder 工作流使用的输入值 |
Rectangle | AddPushButtonWithActionBuilder 工作流使用的输入值 |
Action | AddPushButtonWithActionBuilder 工作流使用的输入值 |
Flags | AddPushButtonWithActionBuilder 工作流使用的输入值 |
使用说明
Action must not be nilThe button requires a PDF version that supports widget actions当目标 PDF 档位允许时,构建器可以发出 navigation、URI、form、layer、multimedia、transition 和 3D-view 动作当应用程序需要在已加载或生成的 PDF 文档中使用这一 push button action 工作流时使用此 API