AddActionNextHideFields

Destinations and actions, Form fields

Description

Appends a Hide action to an existing action Next chain and targets one or more field names

Syntax

Delphi

Function TPDFlib.AddActionNextHideFields(ActionID: Integer; Const FieldNames: WideString; HideFlag: Integer): Integer;

Parameters

ActionIDExisting action handle
FieldNamesComma, semicolon, or line separated field names for the PDF /T target
HideFlagUse 1 to hide the target annotations, or 0 to show them

Return values

Returns 1 on success, or 0 if the action, field list, or PDF/A mode is invalid

Remarks

The helper writes a PDF Hide action and appends it through the action /Next entry

See also

GetActionNextInfo, SetFormFieldHideActionFields, AddLinkToHideField