We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Spaces in string seems to disappear when converting a sheet to an image

Hello,

When I convert a sheet to an image using Aspose Cell, I have the impression that some spaces in my Excel does not appear on the image. Actually they appear, but are very small.

I attached two images: one copied from Excel, the other from the image generated. Maybe the problem comes only from my font (I currently use Verdana)... Do you have any advise to improve my result?

I use this code to convert to image: http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/converting-worksheet-to-image-using-imageorprint-options.html

Regards,

Alexandre

Hi,


Please test your issue with the latest version:Aspose.Cells for .NET v7.0.3.2 and let us know your feedback.

If you still find the issue, give us your template Excel file here, we will check it soon.

Thank you.

Actually, after some test, I notice that depending on the zoom used for the convertion into image, space can be more or large. My zoom was at 61%... And for some reason, at 63% the render is great.

So in case it happen to anyone, just change the zoom of the PageSetup.

Hi,

Thanks for your sharing your findings. It will be helpful for others.