The TextFormat type exposes the following members.

Constructors

  NameDescription
Public methodTextFormat(String)
Create new text format with specified font and default size.
Public methodTextFormat(String, Int32)
Create new text format with specified font and size.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current TextFormat.
(Overrides Object..::..Equals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for the TextFormat type.
(Overrides Object..::..GetHashCode()()()().)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Properties

  NameDescription
Public propertyBaseline
Gets or sets baseline of a text.
Public propertyBold
Gets or sets whether the font is bold.
Public propertyColor
Gets or sets color of a text.
Public propertyFontName
Gets or sets font name of a text.
Public propertyItalic
Gets or sets whether the font is italic.
Public propertySize
Gets or sets font size of a text.
Public propertyUnderline
Gets or sets whether the font is underlined.

See Also