Hi Guys,

 

I am generating one word report using script.

I have few models and I want to print the graphic image of one model in word document.

currently I am using this code for printing the image:-

 var modelPicture = obj_conn_model[0].Graphic(false,false,locale);    output.OutGraphic(modelPicture,50,200,385);

//output is reference of createOutputObjects()

here I am giving a fix size of image.

I don't want to do that. because if image size exceeds the page size then it wont give me a proper image.

So I want to print the image in auto adjustable size according to page width and height.

Please help if you can.

 

Thanks,

Ankit

  

 

 

 

 or register to reply.

Notify Moderator