Hello,
I am using cells to convert an excel document to a PDF. As part of the conversion I set the columns to Autofit the text. When I call auto fit on a worksheet that has long text int it the text it cut off and not included in the pdf. I tried changing some options but nothing seems to work. Is this a bug?
Files.zip (35.0 KB)
Here is an example of the code and I attached the excel doc, the actual and expected results:
Workbook workbook = new Workbook(@"d:\input\AutoFit.xlsx");
foreach(var sheet in workbook.Worksheets)
{
sheet.AutoFitColumns();
}
PdfSaveOptions options = new PdfSaveOptions();
workbook.Save(@"d:\output\Expected.pdf", options);