<< Click to Display Table of Contents >>
OZUserActionCommand > CommentDraw
OZUserActionCommand의 type 중 CommentDraw는 보고서에 주석을 추가할 때 발생하며, 리턴되는 attr은 다음과 같습니다.
attr |
설명 |
mainscreen |
주석이 추가된 스크린이 메인 스크린인지 여부(string) "true"(메인 스크린), "false"(서브 스크린) 중 하나의 값으로 리턴됨 |
pageindex |
페이지 인덱스(int). One-Based Index |
reportindex |
보고서 인덱스(int). Zero-Based Index |
Reference
멀티 스크린 환경을 지원하지 않는 뷰어의 경우 "mainscreen"은 항상 "true"로 리턴됩니다.
Example
...
function OZUserActionCommand_OZViewer(type, attr) {
var MyObj = eval('(' + attr + ')');
if(type == "CommentDraw") {
alert(MyObj.mainscreen);
...
}
}
...