We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Formatting width of table cell to be 33% is not always working

Attached is the out put of the document I’m building with aspose.words.

I’m using the following code to make sure that the cell widths are 33%

Dim table As Aspose.Words.Tables.Table = docBldr.StartTable()
docBldr.CellFormat.PreferredWidth = PreferredWidth.FromPercent(33)

How do I set the table cell widths to be 33% all the time, what I’m doing is not working

See the attached document, the width’s of the table cell columns seem to be different in each table.


Hi Bradley,

Thanks for your inquiry. Please refer to the following section of the documentation which outlines everything you need to know about how to specify Table and Cell widths in Aspose.Words:

Hope this helps you. Please let us know if you have any more queries.