Free Support Forum - aspose.com

How can I tell how many lines in a table cell

I use the builder, move to a table cell, then write some text. How can I tell how many lines the text takes in the table cell? Since each char takes different space, counting chars is not working. Could you help? Thanks.

Hi,

You can use the GetHeight method of the Row class to achieve the results.

Thanks.