The TextFormat type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TextFormat(String) |
Create new text format with specified font and default size.
| |
TextFormat(String, Int32) |
Create new text format with specified font and size.
|
Methods
Name | Description | |
---|---|---|
Equals |
Determines whether the specified Object is equal to the current TextFormat.
(Overrides Object..::..Equals(Object).) | |
Finalize | (Inherited from Object.) | |
GetHashCode |
Serves as a hash function for the TextFormat type.
(Overrides Object..::..GetHashCode()()()().) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Baseline |
Gets or sets baseline of a text.
| |
Bold |
Gets or sets whether the font is bold.
| |
Color |
Gets or sets color of a text.
| |
FontName |
Gets or sets font name of a text.
| |
Italic |
Gets or sets whether the font is italic.
| |
Size |
Gets or sets font size of a text.
| |
Underline |
Gets or sets whether the font is underlined.
|