Free Support Forum - aspose.com

Table Heading breaks into multiple lines-Aspose word(PDF)

Hello,


I am using aspose word for .net to create a pdf file which has a table in it.

Table has 6 columns, if the column heading has multiple words then it breaks into multiple line and the column size becomes small.

eg: if column title is “Column Name 1” then it will be

Column
Name
1

I tried using preferred width like tbl.PreferredWidth = PreferredWidth.FromPercent(100);
and tried setting the individual column size like builder.CellFormat.PreferredWidth = PreferredWidth.FromPercent(5);

but nothing worked.

thanks


Hi Shinoj,

Thanks for your inquiry. Please attach your input Word document and output PDF file showing the undesired behavior here for testing. We will investigate the issue on our end and provide you more information.

Best regards,