Here's the code I'm using:
- Code: Select all
ws.SaveToImage(1,1,37,25)
.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.
Thanks,
Stephen