Free Support Forum - aspose.com

Apply color for text

Hi,



Can you please share sample code for giving color to hyperlink or text?



Thanks

Sowjanya

Hello

Thanks for your request. Please try using the following code to get color of hyperlink:

Document doc = new Document();

Style style = doc.Styles[StyleIdentifier.Hyperlink];

Console.WriteLine(style.Font.Color);

Best regards,