컨테이너 화면에서 컨텐츠 화면을 로드했을때 컨텐츠 화면의 너비를 설정오는 API이다.
Parameters | Type | Description |
---|---|---|
nWidth | long | 컨텐츠 화면의 너비 |
Type | Description |
---|---|
BOOL | 정상 처리 여부 |
컨텐츠 화면이 로드되지 않은 경우에는 false 값이 리턴된다.
function btn_test_on mouseup()
{
screen.alert(screen.getscreencontentwidth());
screen.setscreencontentwidth(600));
}