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
Syntaxpublic Color UnderlineColor { get; set; }
Public Property UnderlineColor As Color
Get
Set
public:
property Color UnderlineColor {
Color get ();
void set (Color value);
}
member UnderlineColor : Color with get, set
Property Value
Type:
Color
ExamplesShows 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