This project has moved and is read-only. For the latest updates, please go here.

Images was stretched when the cell have multi rows

Apr 8, 2016 at 6:12 AM
Images was stretched when we put multi rows into a cell.
Even we used "Locked".

Version:4.0.3
Code:
MemoryStream ms = new MemorySteam(...);
Bitmap image = new Bitmap(ms);
ExcelPicture psp = workSheet.Drawings.AddPicture(...,...)
psp.SetPosition(12, 0, 0, 0);
psp.Locked = true;
psp.EditAs = eEditAs.Absolute;
psp.SetSize(image.Width,image.Height);

Things we tried but failed:
(1)insert the picture -> put the contents in cell -> resize the pictures to origin
(2)put all the contents in cell -> insert the picture

We didn't find any solutions yet.
We also tried 4.0.5,it didn't work.

Waiting for your reply.