<< Click to Display Table of Contents >>
OZUserActionCommand > AddRectangle
OZUserActionCommand의 type 중 AddRectangle는 보고서에 사각형을 추가할 때 발생하며, 리턴되는 attr은 다음과 같습니다.
attr |
설명 |
height |
사각형의 높이(float) |
reportname |
보고서 이름(string) |
width |
사각형의 너비(float) |
xpos |
사각형의 X 좌표(float) |
ypos |
사각형의 Y 좌표(float) |
Example
...
function OZUserActionCommand_OZViewer(type, attr) {
var MyObj = eval('(' + attr + ')');
if(type == "AddRectangle") {
alert(MyObj.height);
...
}
}
...