thank you so much that the free version is bumped to a new version
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