<< 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);
...
}
}
...