Underline text in aspose word document

Hi All

I am creating a word by taking data from database and from word converting that to pdf.
But I need to underline some keyword through out the document.
How can I do that.

Thanks in advance :slight_smile:
sush
Hi Sushmita,

Thanks for your inquiry.

All text of the document is stored in runs of text and you can use Run.Font.Underline property to specify underline character formatting. Please see the following link:
http://www.aspose.com/docs/display/wordsnet/Font+Underline+Property

PS: You may also find this article useful.

Best regards,