Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Thu Nov 07, 2019 7:17 am

Hello E-iceblue support team,

thank you so much that the free version is bumped to a new version :D :D :D

I have got a little problem that I could temporary fixed for myself. While saving a workbook to a stream, it's cell values are written to console. I fixed this by turning out the Console.Out. I don't know how this could happen, but maybe it's a sort of debug/test from an developer who forgot to remove the output.

Uncomment the lines with "Console.SetOut" temporary fix the problem.

Code: Select all
//var defaultOutputWriter = Console.Out;
//Console.SetOut(new StringWriter());

using (var memoryStream = new MemoryStream())
{
  ...
  //Save excel file to new stream
  workbook.SaveToStream(memoryStream, FileFormat.PDF);
  ...
}

//Console.SetOut(defaultOutputWriter);


Best regards,
Nino

NiSch
 
Posts: 9
Joined: Wed Jun 12, 2019 7:07 am

Thu Nov 07, 2019 9:48 am

Hi,

Thanks for your inquiry.
I made an initial test and did notice the issue you mentioned. We will let you know once there is any update.
Since we update free version irregularly, I firstly suggest you use our commercial Spire.XLS Pack(Hotfix) Version:9.10.12 which doesn't have that issue.

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Tue Jul 07, 2020 11:02 am

Hi,

Thanks for your waiting. Sorry for the delay response.
The latest version of Free spire.xls fixed the issue. Here is downloading link, https://www.e-iceblue.com/Download/down ... -free.html

Sincerely,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.XLS