GetFormCalculationGraphJSONA

Forms, diagnostics

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetFormCalculationGraphJSON and string arguments are interpreted using the current SetAnsiMode code page

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 DLGetFormCalculationGraphJSONA(InstanceID: Integer): PAnsiChar;

DLL

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