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

Free Support Forum - aspose.com

Single word is broken up over two lines in table cells

Due to the font of the text passed into certain cells being to big some table cells are to small for single words of font 12. This results in the end letters being displayed on the next line. I've tried fitTextToShape but it seems not to have any effect. Are cell text frames the same size as the cell they occupy.

Harry

Yes, they are of same size. When the text will exceed cell’s width, the new text will be wrapped. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

You can increase the width of the cell using Table.SetColumnWidth method. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />