VDocs.NET
Back to DOM

DOM.Styles.Underline

Namespace: DOM.Styles

Describes underline styling for text runs.

aggregates underline appearance settings such as the underline color, whether the underline fill should follow the text color, and the underline line style. Properties are nullable so consumers can distinguish between "unspecified" and explicit values and apply style inheritance or document defaults.

3 members

Properties

Color

Gets or sets the color used for the underline stroke.

FillColorFollowText

Gets or sets a value indicating whether the underline's fill should follow the text color.

Gets or sets the underline line style (single, double, dotted, dashed, etc.).

VDocs.NET
The .NET Word Document Library

Generate Word
documents.
Not XML.

Create professional documents in .NET without the complexity of OpenXML or Word Interop.

C#VB.NET
var doc = new WordDocument();

doc.AddParagraph()
   .AddText("Invoice")
   .SetHeading(HeadingLevel.Title);

doc.Save("invoice.docx");

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or
Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.