THPDFPage.AddPushButtonWithNextAction Method

Adds push button with next action data to the AcroForm workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing, or page rendering steps

Declaration

procedure AddPushButtonWithNextAction(const FieldName, Caption, Param: AnsiString; Rectangle: TRect; ActionType: THPDFButtonAction; const NextParam: AnsiString; NextActionType: THPDFButtonAction; Flags: THPDFFormFieldFlags= []);

Unit

HPDFDoc

Parameters

NamePurpose
FieldNameAcroForm field name or field dictionary targeted by the helper
CaptionHuman-readable text stored in the PDF object, action, annotation, or structure element
ParamInput used by AddPushButtonWithNextAction
RectanglePage area or widget rectangle where the operation is applied
ActionTypeInput used by AddPushButtonWithNextAction
NextParamInput used by AddPushButtonWithNextAction
NextActionTypeInput used by AddPushButtonWithNextAction
FlagsInput used by AddPushButtonWithNextAction

Return value

This member does not return a value

Usage notes

Related APIs