Hello,
I noticed difference in output between pdf and docx versions.
In docx cell is extended for the text. In pdf the cell has the same width and the text is in one column.
NoWrap property is set to false, but the difference in output appears.
Could you take a look at?
I would like to get same output in pdf as it is in docx.
var document = new Document();
var builder = new DocumentBuilder(document);
builder.StartTable();
var cell1 = builder.InsertCell();
cell1.CellFormat.WrapText = false;
cell1.CellFormat.PreferredWidth = PreferredWidth.FromPercent(1);
builder.Write("test test test test test test test test test test");
var cell2 = builder.InsertCell();
cell2.CellFormat.PreferredWidth = PreferredWidth.FromPercent(99);
builder.EndTable();
document.Save(@"D:\output.docx");
document.Save(@"D:\output.pdf");
Many thanks,
Mateusz