.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ParagraphStyle Members

Exposes methods and characteristics of a paragraph style in a document.

Properties

Name Description
Alignment Gets or sets the paragraph's text alignment. Inherited from ParagraphPropertiesBase.
AllCaps Gets or sets a value indicating whether all characters are capital letters. Inherited from CharacterPropertiesBase.
BackColor Gets or sets the background color of paragraph(s). Inherited from ParagraphPropertiesBase.
Bold Gets or sets a value indicating whether characters are bold. Inherited from CharacterPropertiesBase.
ContextualSpacing Gets or sets whether to suppress addition of additional space (contextual spacing) between paragraphs of the same style. Inherited from ParagraphPropertiesBase.
FirstLineIndent Gets or sets a value specifying the indent of the first line of a paragraph. Inherited from ParagraphPropertiesBase.
FirstLineIndentType Gets or sets a value specifying whether and how a paragraph's first line is indented. Inherited from ParagraphPropertiesBase.
FontName Gets or sets the character(s) font name. Inherited from CharacterPropertiesBase.
FontNameAscii Specifies the name of the font for Unicode (U+0000–U+007F) characters. Inherited from CharacterPropertiesBase.
FontNameComplexScript Specifies the font name for the Complex Script characters (right-to-left languages). Inherited from CharacterPropertiesBase.
FontNameEastAsia Specifies the font name for East Asian characters. Inherited from CharacterPropertiesBase.
FontNameHighAnsi Specifies the name of the font for High ANSI characters. Inherited from CharacterPropertiesBase.
FontSize Gets or sets the character(s) font size. Inherited from CharacterPropertiesBase.
ForeColor Gets or sets the foreground color of characters. Inherited from CharacterPropertiesBase.
Hidden Gets or sets a value indicating whether a character(s) is hidden. Inherited from CharacterPropertiesBase.
HighlightColor Gets or sets the text's highlight color. Inherited from CharacterPropertiesBase.
IsDeleted Gets whether the specified style is marked as deleted.
Italic Gets or sets a value indicating whether a character(s) is italicized. Inherited from CharacterPropertiesBase.
KeepLinesTogether Gets or sets whether to prevent all page breaks that interrupt a paragraph. Inherited from ParagraphPropertiesBase.
KeepWithNext Gets or sets whether to put a break between the current paragraph and the next paragraph. Inherited from ParagraphPropertiesBase.
KerningThreshold Gets or sets the minimum font size for which the kerning is adjusted automatically. Inherited from CharacterPropertiesBase.
Language Specifies the spell check language. Inherited from CharacterPropertiesBase.
LeftIndent Gets or sets a paragraph's left indent. Inherited from ParagraphPropertiesBase.
LineSpacing Gets or sets a line spacing value. Inherited from ParagraphPropertiesBase.
LineSpacingMultiplier Gets or sets the multiplier which is used to calculate the line spacing value. Inherited from ParagraphPropertiesBase.
LineSpacingType Gets or sets a value which determines the spacing between paragraph's lines. Inherited from ParagraphPropertiesBase.
LinkedStyle Gets or sets the linked style for the current style.
ListLevelIndex Gets or sets the list level applied to the paragraph formatted with the current style.
Name Gets or sets the name of the style.
NextStyle Gets or sets the default style for a paragraph that immediately follows the current paragraph.
NoProof Specifies whether or not the text shall be proof read by the spell checker. Inherited from CharacterPropertiesBase.
NumberingListIndex Gets or sets the index of a list applied to the paragraph style.
OutlineLevel Gets or sets the paragraph's outline level. Inherited from ParagraphPropertiesBase.
PageBreakBefore Gets or sets whether to insert a page break before specified paragraph(s). Inherited from ParagraphPropertiesBase.
Parent Gets or sets the style from which the current style inherits.
Position Gets or sets the position of characters (in points) relative to the base line. Inherited from CharacterPropertiesBase.
Primary Gets or sets whether the style is primary for the document.
RightIndent Gets or sets the paragraph's right indent. Inherited from ParagraphPropertiesBase.
RightToLeft Gets or sets whether to change the paragraph's text direction to right-to-left. Inherited from ParagraphPropertiesBase.
Scale Gets or sets the font's scaling percentage. Inherited from CharacterPropertiesBase.
SmallCaps Gets or sets whether all characters are small capital letters. Inherited from CharacterPropertiesBase.
SnapToGrid Specifies whether to snap East-Asian characters to a grid when the grid is defined. Inherited from CharacterPropertiesBase.
Spacing Gets or sets the spacing (in twips) between characters. Inherited from CharacterPropertiesBase.
SpacingAfter Gets or sets the spacing after the current paragraph. Inherited from ParagraphPropertiesBase.
SpacingBefore Gets or sets the spacing before the current paragraph. Inherited from ParagraphPropertiesBase.
Strikeout Gets or sets a value indicating whether characters are strikeout. Inherited from CharacterPropertiesBase.
Subscript Gets or sets a value indicating whether character(s) are formatted as subscript. Inherited from CharacterPropertiesBase.
Superscript Gets or sets a value indicating whether character(s) are formatted as superscript. Inherited from CharacterPropertiesBase.
SuppressHyphenation Gets or sets whether to hyphenate a paragraph. Inherited from ParagraphPropertiesBase.
SuppressLineNumbers Gets or sets whether to display line numbers for the paragraphs. Inherited from ParagraphPropertiesBase.
ThemeFontAscii Specifies theme font for Unicode (U+0000–U+007F) characters. Inherited from CharacterPropertiesBase.
ThemeFontComplexScript Specifies the theme font for the Complex Script characters (right-to-left languages). Inherited from CharacterPropertiesBase.
ThemeFontEastAsia Specifies the theme font for East Asian characters. Inherited from CharacterPropertiesBase.
ThemeFontHighAnsi Specifies the theme font for High ANSI characters. Inherited from CharacterPropertiesBase.
Underline Gets or sets the type of underline applied to the character(s). Inherited from CharacterPropertiesBase.
UnderlineColor Gets or sets the color of the underline for the specified characters. Inherited from CharacterPropertiesBase.
WidowOrphanControl Gets or sets whether to apply control over the widow and orphan lines. Inherited from ParagraphPropertiesBase.

Methods

Name Description
Assign(CharacterPropertiesBase) Copies all settings from the object passed as the parameter to the current object. Inherited from CharacterPropertiesBase.
Assign(ParagraphPropertiesBase) Copies all settings from the object passed as the parameter to the current object. Inherited from ParagraphPropertiesBase.
BeginUpdateTabs(Boolean) Starts modifying tab stops in a paragraph. Inherited from ParagraphPropertiesWithTabs.
EndUpdateTabs(TabInfoCollection) Finalizes modifications of tab stops for the current paragraph. Inherited from ParagraphPropertiesWithTabs.
Reset() Resets the paragraph formatting to its base style. Inherited from ParagraphPropertiesBase.
Reset(CharacterPropertiesMask) Resets the character formatting properties specified by the mask to the properties of the underlying character style or to default properties. Inherited from CharacterPropertiesBase.
Reset(ParagraphPropertiesMask) Resets the paragraph formatting properties specified by the mask to the properties of the underlying paragraph style or to default properties. Inherited from ParagraphPropertiesBase.
See Also