THPDFPage.AddPushButtonWithActionBuilder Method
Adds a push button form field whose activation action comes from THPDFActionBuilder
Declaration
procedure AddPushButtonWithActionBuilder(const FieldName, Caption: AnsiString; Rectangle: TRect; Action: THPDFActionBuilder; Flags: THPDFFormFieldFlags = []);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
FieldName | Input used by the AddPushButtonWithActionBuilder workflow |
Caption | Input used by the AddPushButtonWithActionBuilder workflow |
Rectangle | Input used by the AddPushButtonWithActionBuilder workflow |
Action | Input used by the AddPushButtonWithActionBuilder workflow |
Flags | Input used by the AddPushButtonWithActionBuilder workflow |
Usage notes
Action must not be nilThe button requires a PDF version that supports widget actionsThe builder can emit navigation, URI, form, layer, multimedia, transition, and 3D-view actions when the target PDF profile allows themUse this API when an application needs this push button action workflow in a loaded or generated PDF document