VDocs.NET
Back to DOM

DOM.Styles.TextStyle

Namespace: DOM.Styles

Represents character-level styling applied to text runs.

aggregates font, color, effects and supplemental settings that control the visual appearance of inline text. Properties are nullable so callers can distinguish between "unspecified" and an explicit value; consumers should apply inheritance and document-default fallback rules when a property is.

6 members

Properties

BackgroundColorColor

Gets or sets the background (highlight) color for the text run.

Gets or sets an inline border style applied around the text run.

CustomWidthDocumentUnit

Gets or sets a custom width hint for the text run.

Font

Gets or sets the font formatting to apply to the text run.

Languages

Gets or sets language preferences for the text run.

TextEffect

Gets or sets text effect settings such as shadows, glow or 3D effects.

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");

Create Account

Create your VDocs account.

or

Already have an account? Sign in