팩토리 » Api

getbrowsercontentrect

Description

브라우저 콘텐츠 표시 영역 위치값들(left,top,right,bottom)을 배열으로 반환하는 API이다.

Return Value

Type Description
ARRAY 브라우저 내부 위치값들을 담은 배열

Remark

* left, top, right, bottom 순으로 가져온다.

Example

function btn_on mouseup() { var arrPos = factory.getbrowsercontentrect(); screen.alert("왼쪽 : " + arrPos[0] + ", 위 : " + arrPos[1] + ", 오른쪽 : " + arrPos[2] + ", 아래 : " + arrPos[3]); }

Viewer Ver.

9.1.1.1

Update Date

20190626