GetFormCalculationGraphJSON

양식, 진단

설명

계산 동작이 있는 모든 필드와 해당 1부터 시작하는 인덱스, 제목, 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