RemoveFormFieldAction
表單欄位、註解與熱點連結
描述
移除指派給表單欄位觸發器的動作
語法
Delphi
Function TPDFlib.RemoveFormFieldAction(Index: Integer; Const TriggerEvent: WideString): Integer;
DLL
int DLRemoveFormFieldAction(int InstanceID, int Index, const wchar_t * TriggerEvent);
參數
| Index | 從 1 開始的表單欄位索引 |
|---|---|
| TriggerEvent | 要清除的觸發器名稱:空字串為主要 /A 動作,或 E、X、D、U、Fo、Bl、K、F、V、C |
傳回值
| 0 | 沒有移除任何相符的欄位動作 |
|---|---|
| 1 | 所要求的欄位動作已移除 |
備註
TriggerEvent 為 U 時,函式會同時清除主要 /A 動作與任何額外的 /AA /U 動作,新舊閱讀器行為因此一致
最後一個附加動作移除時,空的 /AA 字典也會從欄位字典中移除