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

Free Support Forum - aspose.com

Changing font color in a document

I need to be able to change the font color of a document to black, except for any hyperlinks which I have to leave as the default blue color. How can this be done?

Thanks,

Hi Darel,

Thanks for your inquiry.

You can use the class attached to this post to change the font of an entire document. If it it does affect the font color of hyperlinks, you can add a little code to check if the existing node has Hyperlink style and skip it.

If you need any further help, please feel free to ask.

Thanks

Thanks, I don't see any attachment.

Hi Darel,

It's attached now.

Thanks,