GetFormCalculationGraphJSON

表单、诊断

描述

返回具有计算动作的所有字段,以及其从一开始的索引、标题、AcroForm 计算顺序位置、直接依赖项索引和图形循环状态

语法

Delphi

Function TPDFlib.GetFormCalculationGraphJSON: WideString;

ActiveX

Function PDFlib::GetFormCalculationGraphJSON() As String

类型库 3.5 起 IPDFlibrary4 提供

DLL

const wchar_t* DLGetFormCalculationGraphJSON(int InstanceID);
const char* DLGetFormCalculationGraphJSONA(int InstanceID);

返回值

返回含 hasCycle 和 fields 成员的 JSON 对象,图提取失败时返回空字符串

备注

从受限的 this.getField(...) 引用和 AFSimple_Calculate 字段列表中提取依赖关系,不执行任何脚本

另请参阅

RecalculateFormFields、ExecuteFormFieldScript