Options

Pictures to excel wrong size

nightrodnightrod Member Posts: 68
edited 2012-01-27 in Navision Financials
Hi All,

i want to send pictures from items to excel using the following code:
XlWrkSht.Shapes.AddPicture(PicturePath, 1, 1, 400, 200, 200,200);

you can set the parameters of the picture size.
problem is that they change for each item.

is there a way to send without static picture size?

or other solution can i test the picture size befor to send it to excel?

Hope someone can help.
Sign In or Register to comment.