The Font type exposes the following members.
Name | Description | |
---|---|---|
Antialiased |
Gets/sets value specifying if text should be antialiased. |
|
Ascent |
Returns ascent of the current font. |
|
AverageCharWidth |
Returns an average character width of the current font. |
|
Bold |
Gets/sets value specifying if font is bold. |
|
ClearType |
Gets/sets value specifying if to use ClearType antialiasing for fonts (optimized for LCD monitors). |
|
Descent |
Returns descent of the current font. |
|
EmHeight |
Returns em height of the font (also known as em square or em size). |
|
ExternalLeading |
Returns external leading of the current font. |
|
GdiCharset |
Gets/sets charset for displaying non-Unicode characters. |
|
HorizontalAlignment |
Gets/sets horizontal text alignment, i.e. value specifying how to locate the text string relatively X-coordinate of the point of text output (which is retrieved to DrawString(String, Font, Pen, Brush, Int32, Int32) method). |
|
HorizontalResolution |
Specifies horizontal resolution of the image (also known as DPI, dots per inch). (Inherited from UnitConverterObject.) |
|
InternalLeading |
Returns internal leading of the current font. |
|
IsDisposed | (Inherited from LockableObject.) | |
Italic |
Gets/sets value specifying if font is italic. |
|
LineGap |
Returns line gap of the current font. |
|
Locked |
Indicates if the object has been locked. (Inherited from LockableObject.) |
|
MaximumCharWidth |
Returns the width of the widest character in the font. |
|
Name |
Gets typeface name of the font. |
|
Size |
Gets/sets font size. |
|
Strikeout |
Gets/sets value specifying if font is stroke out. |
|
Timeout |
Gets/sets value specifying maximum time for which object can be locked. (Inherited from LockableObject.) |
|
Tracking |
Gets/sets font tracking (also known as intercharacter spacing). |
|
Underline |
Gets/sets value specifying if font is underlined. |
|
Unit |
Gets/sets unit to convert from/to. (Inherited from UnitConverterObject.) |
|
VerticalAlignment |
Gets/sets vertical text alignment, i.e. value specifying how to locate the text string relatively Y-coordinate of the point of text output (which is retrieved to DrawString(String, Font, Pen, Brush, Int32, Int32) method). |
|
VerticalResolution |
Specifies vertical resolution (also known as DPI, dots per inch). (Inherited from UnitConverterObject.) |
|
Weight |
Gets/sets a font weight. |