I using Spire.XLS 10.1.8.
When converting .xltx to PDF, I noticed that cell text alignment was not applied correctly.
See src.xltx and out.pdf.
If the text alignment of cells is set to Distributed in Horizontal, it will not be applied correctly when converted to PDF.
Vertical seems to work correctly.
- Code: Select all
using (var wb = new Workbook())
{
wb.LoadTemplateFromFile("src.xltx");
wb.SaveToFile("out.pdf", FileFormat.PDF);
}
Is there a solution for this problem?
Thanks in advance.