Font
Defines a particular format for text, including font face, size, and style attributes. This class cannot be inherited.
Gets a value that indicates whether this Font is bold.
Gets the FontFamily associated with this Font.
Gets a byte value that specifies the GDI character set that this Font uses.
Gets a Boolean value that indicates whether this Font is derived from a GDI vertical font.
Gets the line spacing of this font.
Gets a value indicating whether the font is a member of SystemFonts.
Gets a value that indicates whether this font has the italic style applied.
Gets the face name of this Font.
Gets the name of the font originally specified.
Gets the em-size, in points, of this Font.
Gets a value that indicates whether this Font specifies a horizontal line through the font.
Gets style information for this Font.
Gets the name of the system font if the IsSystemFont property returns true.
Gets a value that indicates whether this Font is underlined.
Gets the unit of measure for this Font.
Initializes a new Font using a specified size.
Initializes a new Font using a specified size and style.
Initializes a new Font using a specified size, style, and unit.
Initializes a new Font using a specified size, style, unit, and character set.
public Font(FontFamily family, float emSize, FontStyle style, GraphicsUnit unit, byte gdiCharSet, bool gdiVerticalFont)
Initializes a new Font using a specified size, style, unit, and character set.
Initializes a new Font using a specified size.
Initializes a new Font using a specified size and style.
Initializes a new Font using a specified size, style, and unit.
Initializes a new Font using a specified size, style, unit, and character set.
public Font(string familyName, float emSize, FontStyle style, GraphicsUnit unit, byte gdiCharSet, bool gdiVerticalFont)
Initializes a new Font using the specified size, style, unit, and character set.
Creates a Font from the specified Windows handle to a device context.
Creates a Font from the specified Windows handle.
Creates a Font from the specified GDI logical font (LOGFONT) structure.
Creates a Font from the specified GDI logical font (LOGFONT) structure.
Creates an exact copy of this Font.
Releases all resources used by this Font.
Returns the line spacing, in pixels, of this font.
Returns the line spacing, in the current unit of a specified Graphics, of this font.
Returns the height, in pixels, of this Font when drawn to a device with the specified vertical resolution.
Returns a handle to this Font.
Creates a GDI logical font (LOGFONT) structure from this Font.
Creates a GDI logical font (LOGFONT) structure from this Font.