SetFormFieldResetActionFields
Form fields
Description
Assigns a ResetForm action to a form field and writes an optional field-name list
Syntax
Delphi
Function TPDFlib.SetFormFieldResetActionFields(Index: Integer; Const ActionType, FieldNames: WideString; Flags: Integer): Integer;
Parameters
| Index | Form field index |
|---|---|
| ActionType | Trigger key such as U, D, E, X, Fo, Bl, K, F, V, C, or empty for primary action |
| FieldNames | Comma, semicolon, or line separated list of field names for the PDF /Fields array |
| Flags | ResetForm action flags |
Return values
Returns 1 on success, or 0 if the field, trigger, or PDF/A mode is invalid
Remarks
Use this wrapper when the Delphi class API is preferred over assembling the lower-level PDF objects manually