Free Support Forum -

Speadsheet image is cut off on right side and buttom using version 6.0.1

We tried to use ASpose.cell 6.0.1 to fix the issue to load .jpg image file using SheetRender.ToImage(0). It works! But big problem is all of images generated from xls or xlsx are cut off on right side and buttom and some images are shrinked. Please see the sample in the attachments. Here is the sample codes:


ImageOrPrintOptions options = new ImageOrPrintOptions() { PrintingPage = PrintingPageType.IgnoreBlank, IsImageFitToPage = true, OnePagePerSheet = true, ImageFormat = ImageFormat.Bmp };

SheetRender sr = new SheetRender(ws, options);

Bitmap bm = sr.ToImage(0);

Please advise. Thank you.


Please try our latest version v7.0.1:

I have tested converting the sheet to image using your code and template file, it works fine.

Thank you.