Free Support Forum - aspose.com
Underline text in aspose word document
Aspose.Words Product Family
sushmitha
April 18, 2013, 5:05am
1
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
sush
awais.hafeez
April 19, 2013, 3:07am
2
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,