GetFormCalculationGraphJSON

Forms, diagnostics

Description

Returns every field with a calculation action, its one-based index, title, AcroForm calculation-order position, direct dependency indices and the graph cycle state

Syntax

Delphi

Function TPDFlib.GetFormCalculationGraphJSON: WideString;

ActiveX

Function PDFlib::GetFormCalculationGraphJSON() As String

Available on IPDFlibrary4 from type library version 3.5

DLL

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

Return values

Returns a JSON object with hasCycle and fields members, or an empty string when graph extraction fails

Remarks

Dependencies are extracted from bounded this.getField(...) references and AFSimple_Calculate field lists without executing any script

See also

RecalculateFormFields, ExecuteFormFieldScript