Hi All,
I want to know all parameter use that we can pass in Graphic function.
I am using that function to extract the graphical image of one model but don't know what are the parameters this function is exactly looking for. I am getting the image correctly but why i am not able to see the function details in ARIS script help?
and because of this method I am facing one problem in alignment of model image in word file.
I want to set any image in my page width and height.
for getting this I am using -1 value of zoom parameter in OutGraphic function. I am getting my image in one page but last object of my model is not properly. I am getting that object image in two parts. Please refer below mentioned image for reference.
var modelPicture = model[0].Graphic(true,false,locale); var pictureWidth = (210 - 20 - 20); //210mm is my page width in report var pictureHeight = ((297) - 20 - 20); // 297mm is my page height //left margin, right margin,top margin, bottom margin all are 20mm. output.OutGraphic(modelPicture,-1,pictureWidth,pictureHeight);
image: "End" object in two parts. It should not be in two parts. I need the complete single object image without any cut.
also sometimes if width is more than page size then my function is zooming out that model to match defined page height and width but even after zooming out complete image on one page still it is giving one thin line on next page .
I want to fix that image in one page.
I am using OutGraphic function instead of OutGraphicAbsolute because I don't want to stretch the image if the width and size is less than page width and height.
Please guys help! Thanks in advance...
Thanks,
Ankit