FontUnderlineColor Property

Gets or sets the color of the underline applied to the font.

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public Color UnderlineColor { get; set; }

Property Value

Type: Color
Examples
Shows how use the underline character formatting properties.
Run run = new Run(doc, "Hello");
run.Font.Underline = Underline.Dotted;
run.Font.UnderlineColor = Color.Red;
See Also