Skip to main content

TextSpan Members

A span of document content.

Properties

Name Description
AllCaps Gets whether the text span’s characters are capital letters.
BackgroundColor Gets the background color of the text span’s characters.
FontBold Gets whether the text span’s characters are bold.
FontItalic Gets whether the text span’s characters are italicized.
FontName Gets the font name of the text span’s characters.
FontSize Gets the font size of the text span’s characters.
ForegroundColor Gets the font color of the text span’s characters.
Hidden Gets whether the text span’s content is hidden.
HighlightColor Gets the highlight color of the text span’s characters.
Interval Gets the text buffer interval that contains the element. Inherited from DocumentElementBase.
Script Gets the script format of the text span’s characters.
SmallCaps Gets whether the text span’s characters are small capital letters.
Strikeout Gets whether the text span’s characters are strikeout.
Text Gets textual representation of the span content.
Underline Gets whether the text span’s characters are underlined.
UnderlineColor Gets the underline color of the text span’s characters.
UnderlineWordsOnly Gets whether space and tab characters are underlined in addition to other characters.

Methods

Name Description
ChangePropertiesAsync(Action<CharacterProperties>, CancellationToken) Sets the properties of the text span’s characters.
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