Skip to main content
A newer version of this page is available. .

CharacterProperties Members

Contains properties of a text span’s characters.

Properties

Name Description
AllCaps Specifies whether a text span’s characters are capital letters.
BackgroundColor Specifies the background color for a text span’s characters.
FontBold Specifies whether a text span’s characters are bold.
FontItalic Specifies whether a text span’s characters are italicized.
FontName Specifies the font name for a text span’s characters.
FontSize Specifies the font size for a text span’s characters.
ForegroundColor Specifies the font color for a text span’s characters.
Hidden Specifies whether a text span’s content is hidden.
HighlightColor Specifies the highlight color for a text span’s characters.
Script Specifies the script format for a text span’s characters.
Strikeout Specifies whether the text span’s characters are strikeout.
Underline Specifies whether a text span’s characters are underlined.
UnderlineColor Specifies the underline color for a text span’s characters.
UnderlineWordsOnly Specifies whether space and tab characters are underlined in addition to other characters.

Methods

Name Description
CopyFrom(TextSpan) Duplicates the properties of the specified text span into the current instance of the CharacterProperties class.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also