탭 » Api
settabitemchildscreenzoom
Description
지정한 탭 아이템에 링크된 화면의 Zoom 퍼센트 값을 설정한다.
Parameters
Parameters |
Type |
Description |
nTabItem |
short |
탭 아이템 인덱스 |
nPercent |
short |
zoom 하고자하는 퍼센트 값 |
Return Value
Type |
Description |
short |
탭에 링크된 화면의 Zoom 퍼센트 값 (오류 발생시 -1 값) |
Remark
최소 50 퍼센트에서부터 최대 200퍼센트까지만 가능하다.
Example
function btn_settabitemzoom_on_mouseup(objInst)
{
var tabitemzoom;
tabitemzoom = tab.gettabitemzoom(0);
if(tabitemzoom == 100) {
tab.settabitemzoom(0, 200);
}
}
See Also
gettabitemchildscreenzoom
Viewer Ver.
9.1.1.1
Update Date
20191029