드로우 » Api

loadjson

Description

JSON문자열을 드로우영역에 그리는 API이다.
드로우영역에 그려진 기존 내용은 삭제된다.

Parameters

Parameters Type Description
strJson STRING JSON문자열

Return Value

Type Description
BOOL 성공/실패 여부

Example

function btn_load_on_mouseup(objInst) { // 파일에서 불러오기 file01.readastext(); } function file01_on_readastext(objInst, strText) { // 파일의 내용을 드로우에 표현 draw01.loadjson(strText); }

See Also

savejson

Viewer Ver.

9.1.1.1

Update Date

20220317