Free Support Forum - aspose.com

Images Scaled

I have created an in-memory Image object. When I insert the image into a table cell, the image’s size is not the size at which I created the image. Why?

In addition, if I use the InsertImage(Image, double, double) method in DocumentBuilder, the Image’s alias is badly blurred.

Thanks,
Vincent <o:p></o:p>

Hi Vincent,

Thank you for considering Aspose.

Probably Microsoft Word fits the image size to the size of the table cell. Please try to set RowFormat.AllowAutoFit to true, it will allow Word to automatically resize cells in a table to fit their contents.

I have not noticed any issues like the second one. Could you please give more details and probably attach a sample document that doesn’t suit you?