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

Free Support Forum - aspose.com

How to bold text in a cell?

How to bold text in a cell?

Need coding help…

Hi Arunava,

Thanks for using our products.

In order to set the formatting of contents inside table cell as Bold, please try using the following code line. In case you encounter any issue, please share the code snippet.

// set the formatting of contents inside second cell of table row as Bold
row1.Cells[1].DefaultCellTextInfo.IsTrueTypeFontBold = true;

In case you need to set the formatting of all the cells in a particular row as bold,
please try using the following code line.

// set the formatting of contents in all cells in a table row as Bold
row1.DefaultCellTextInfo.IsTrueTypeFontBold = true;