The TextSpan type exposes the following members.

Constructors

  NameDescription
TextSpan
Initializes a new instance of the TextSpan class

Methods

  NameDescription
Clone
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
LoadFromString
It loads a text span markup into this TextSpan object.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString (Overrides Object..::.ToString()()().)

Properties

  NameDescription
BackColor
Gets or sets the background color used by this TextSpan object.
BaselineOffset
Gets or sets a vertical offset value for the baseline of this TextSpan object.
CustomFontFile
Gets or sets the custom font file to use for this TextSpan object. It can be specified as a relative URL or full path pointing out to the custom font file on local disk or; as an identifier stored in the appSettings section of Web.config file.
CustomFontFileFamilyIndex
Gets or sets the Font Family index of the type faces defined by the specified Custom Font File.
FontBold
Gets or sets a value that indicates whether the font used by this TextSpan object is bold.
FontItalic
Gets or sets a value that indicates whether the font used by this TextSpan object is italic.
FontName
Gets or sets the face name of this TextSpan object.
FontSize
Gets or sets the size of the font used by this TextSpan object.
FontStrikeout
Gets or sets a value that indicates whether the font used by this TextSpan object specifies a horizontal line through the text.
FontUnderline
Gets or sets a value that indicates whether the font used by this TextSpan object is underlined.
FontUnit
Gets or sets the unit of measure for the font used by this TextSpan object.
ForeColor
Gets or sets the foreground color used by this TextSpan object.
Kerning
Gets or sets the spacing between the letters contained in this TextSpan object.
Text
Gets or sets the text.

See Also