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.