RemoveFormFieldAction
Form fields, Annotations and hotspot links
Description
Reference page for RemoveFormFieldAction. The function belongs to Form fields, Annotations and hotspot links and keeps all identifiers exactly as shown
Syntax
Delphi
Function TPDFlib.RemoveFormFieldAction(Index: Integer; Const TriggerEvent: WideString): Integer;
DLL
int DLRemoveFormFieldAction(int InstanceID, int Index, const wchar_t * TriggerEvent);
Return values
| Index | The 1-based form-field index |
|---|---|
| TriggerEvent | The trigger name to clear: empty for the primary /A action, or E, X, D, U, Fo, Bl, K, F, V, or C |
Return values
| 0 | No matching field action was removed |
|---|---|
| 1 | The requested field action was removed |
See also
When TriggerEvent is U, the function clears both the primary /A action and any additional /AA /U action so older and newer mouse-up action forms are removed together
When the final additional action is removed, the empty /AA dictionary is removed from the field dictionary