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

Free Support Forum - aspose.com

Retrieving format

Hello Experts,

How to retrieve multiple conditional format in word using "ASPOSE"

Eg:
I have XML tag in my word template
Name :
Price :

I given multiple format like font color, bold and underline…etc for Name tag. If i select the name tag i wanna to retrieve all the format against the control…

How it’s achieve?

Thanks and Regards,
Senthil Kumar. P

Hi Senthil,


Thanks for your inquiry. All text of the document is stored in runs of text. You can get the Run node which represents that particular text and then determine the formatting applied to it via Run.Font attributes. I hope, this helps.

Best regards,