<< Click to Display Table of Contents >>

OZUserActionCommand > AddCircle

OZUserActionCommand의 type 중 AddCircle는 보고서에 원을 추가할 때 발생하며, 리턴되는 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 == "AddCircle") {

       alert(MyObj.height);

       ...

   }

}

...