we are having problems with converting the xlsx document to pdf file. Output pdf document has unexpected vertical bold line in the end of sheet. There is no line in the end of input document.Can you help me to find a problem?
In the example.zip :
- Input file: source.xlsx
- Output file: result.pdf
Converting code:
- Code: Select all
private static void ConvertToPfd(Stream source)
{
var workbook = new Workbook();
workbook.LoadFromStream(excel);
using var result = new FileStream("result.pdf", FileMode.Create, FileAccess.Write);
workbook.SaveToStream(result, Spire.Xls.FileFormat.PDF);
}
Version of product: Spire.XLS, Version=11.7.0.0
OS: Windows 10, 64bit
Thanks!