화면 » Api

getclientwidth

Description

화면의 실제 Drawing 영역 너비를 반환하는 API이다.

Return Value

Type Description
long 화면의 실제 Drawing영역 너비

Remark

* Drawing영역은 해당 화면의 윈도우 영역내에 실제로 Drawing이 되기 위한 영역

Example

function btn_getclinetwidth_on_mouseup() { var instScr = tabTest.getchildscreeninstance(0); if(factory.isobject(instScr)) { factory.consoleprint("화면의 윈도우 너비 : " + instScr.getwindowwidth()); factory.consoleprint("화면의 Drawing영역 너비 : " + instScr.getclientwidth()); factory.consoleprint("실제 화면 너비 : " + instScr.getscreenwidth()); } }

See Also

getclientheight

Viewer Ver.

9.1.1.1

Update Date

20131230