모바일 » Api

setorientation

Description

모바일에서 화면 방향을 변경한다.

Parameters

Parameters Type Description
nOrientation short 변경할 화면 방향 (*ReMark 참조)

Return Value

Type Description
void

Remark

nOrientation: 화면 방향 상태 값
 - 0: 자동
 - 1: 세로(portrait)
 - 2: 가로(landscape)

Example

function btn_setorientation_on_mouseup(objInst) { // 가로 방향으로 변경 mobil_basic.setorientation(2); }

Viewer Ver.

9.1.1.1

Update Date

20240125