First sheet of source.xlsx "Таблица 1" has error during conversion: in the first column in some cells text is cropped. For example,cropped text in cell A18, as you can see in the output file result.pdf from attachment.
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