<< Click to Display Table of Contents >>

OZUserActionCommand > AddImage

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

       alert(MyObj.height);

       ...

   }

}

...