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

Function TPDFlib.GetFormCalculationGraphJSON: WideString;

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