THPDFPage.AddPushButtonWithHideAction Method

Adds push button with hide 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 AddPushButtonWithHideAction(const FieldName, Caption: AnsiString; const Targets: array of AnsiString; Hide: boolean; Rectangle: TRect; 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
TargetsInput used by AddPushButtonWithHideAction
HideInput used by AddPushButtonWithHideAction
RectanglePage area or widget rectangle where the operation is applied
FlagsInput used by AddPushButtonWithHideAction

Return value

This member does not return a value

Usage notes

Related APIs