Free Support Forum - aspose.com

How to enforce nowrap for certain table cells?

In the attached XML file, when it is converted to PDF, a few of the columns have "wrapped" text that don't look good, e.g. the date and code columns. Is is possible to declare that certain columns must not wrap text?

I know that you can specify all column widths exactly, but in our example, I can't say for sure how many columns there will be in the supplied XML document, so I would rely on ColumnAdjustment="AutoFitToContent".

Hi,

Thank you for considering Aspose.

I think this is a bug of AutoFitToContent. We will investigate this issue and reply to you soon.

We will try to resolve this problem in the future version. Currently as a workaround you can set the column width by your self.