Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

CharacterStyle Members

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

Properties

Name Description
AllCaps Gets or sets a value indicating whether all characters are capital letters. Inherited from CharacterPropertiesBase.
BackColor Gets or sets the background color of character(s). Inherited from CharacterPropertiesBase.
Bold Gets or sets a value indicating whether characters are bold. Inherited from CharacterPropertiesBase.
FontName Gets or sets the character(s) font name. 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.
Language Specifies the spell check language. Inherited from CharacterPropertiesBase.
LinkedStyle Gets or sets the linked style for the current style.
Name Gets or sets the name of the style.
NoProof Specifies whether or not the text shall be proof read by the spell checker. Inherited from CharacterPropertiesBase.
Parent Gets or sets the style form which the current style inherits.
Primary
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.
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.

Methods

Name Description
Assign(CharacterPropertiesBase) Copies all settings from the object passed as the parameter to the current object. Inherited from CharacterPropertiesBase.
Reset() Resets the character formatting to the underlying character style. Inherited from CharacterPropertiesBase.
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.
See Also