Technical support for Spire.XLS

Moderators: iceblue support, Flash, Manager


Postby swagner » Fri Jun 01, 2012 4:49 pm

I am using this method to save an image as a stream. However, it distorts the worksheet, first by having no margins on the the left side of the image and it also makes the image smaller than it should be.

Here's the code I'm using:

Code: Select all
    .Save(mStream, ImageFormat.Png);

I would rather have it save the whole worksheet (ws) to the stream, but it appears that doesn't work very well.

Please tell me if there's a better way to do this.


Posts: 1
Joined: Thu May 31, 2012 8:50 pm

Re: SaveToImage

Postby Suvi.Wu » Tue Jun 05, 2012 2:53 am

Hi Stephen,

Thanks for evaluating Spire.Xls.

We've tested the issue you reported with the Spire.Xls v 6.5.9, but we can't reproduce it. I attached the demo ,please have a check. If you still have this problem, could you please offer more code and the original file to help us reproduce this problem? Thanks for your understanding and cooperation.

Have a great day!
(31.02 KiB) Downloaded 243 times
User avatar
Posts: 156
Joined: Thu Oct 20, 2011 2:53 am

Return to Spire.XLS

Who is online

Users browsing this forum: No registered users and 1 guest