모바일에서 화면 방향을 변경한다.
Parameters | Type | Description |
---|---|---|
nOrientation | short | 변경할 화면 방향 (*ReMark 참조) |
Type | Description |
---|---|
void |
nOrientation: 화면 방향 상태 값 - 0: 자동 - 1: 세로(portrait) - 2: 가로(landscape)
function btn_setorientation_on_mouseup(objInst)
{
// 가로 방향으로 변경
mobil_basic.setorientation(2);
}