VDocs.NET
Back to DOM

DOM.Styles.BaseDocumentStyle

Namespace: DOM.Styles

Base container for document-level default style settings.

centralizes the common default styles that apply across a document (for example the default paragraph and text/character styles). Implementations and consumers can read or override these defaults when creating new document elements so they follow a consistent appearance. Both values are nullable to allow callers to selectively override only the style categories they need. When a style is, the rendering/serialization layer should fall back to library-wide defaults or parent style inheritance.

2 members

Properties

ParagraphStyleIParagraphStyle

Gets or sets the default paragraph style applied when creating new paragraphs.

TextStyleITextStyle

Gets or sets the default text (character) style applied when creating new text runs.

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.