AddActionNextResetFormFields

Destinations and actions, Form fields

Description

Appends a ResetForm action with an optional field-name list to an existing action Next chain

Syntax

Delphi

Function TPDFlib.AddActionNextResetFormFields(ActionID: Integer; Const FieldNames: WideString; Flags: Integer): Integer;

Parameters

ActionIDExisting action handle
FieldNamesComma, semicolon, or line separated field names for the PDF /Fields array
FlagsResetForm action flags

Return values

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

Remarks

Pass an empty field list to reset all fields allowed by the PDF action flags

See also

AddActionNextSubmitFormFields, SetFormFieldResetActionFields, AddLinkToResetForm