Hello,
I am using Aspose Cells to add a large 7.5"W x 8.0"H (720x764) image into a worksheet using code like this:
int indexPicture = worksheet.Pictures.Add(row, col, stream);
Picture picture = worksheet.Pictures[indexPicture];
picture.Placement = PlacementType.Move; // no difference with FreeFloating
picture.UpperLeftColumn = col;
picture.UpperLeftRow = row;
After I open the xlsx file in Excel 2007, the image has been resized. The scale values show 100% and 104% for height and width, even though the "Lock aspect ratio" checkbox is checked.
Because of the increased size, the image does not fit on the printed page. This is a serious problem. Can you suggest how I can keep the image size from being adjusted from its original size?