[]
Represents a GDI font object.
public sealed class Font : GdiObject, IDisposable, ICloneable
Name | Description |
---|---|
Font(Font, FontStyle) | Initializes a new Font object from the specified Font object and special style |
Font(Font, float) | Initializes a new Font object from the specified Font object and special style |
Font(string, float) | Initializes a new Font object using the specified font attributes. |
Font(string, float, FontStyle, byte) | Initializes a new Font object using the specified settings. |
Name | Description |
---|---|
Bold | Gets a value that indicates whether this Font object is bold. |
CharSet | Gets a byte value that specifies the character set that this Font object uses. |
ControlDefault | Gets the default Font of the control. |
Height | Gets the height of this Font object. |
Italic | Gets a value that indicates whether this Font object is italic. |
Metric | Gets basic information about this font. All sizes are specified in pixels. |
Name | Gets the face name of this Font object. |
Size | Gets the size, in points, of this Font object. |
Strikeout | Gets a value that indicates whether this Font object specifies a horizontal line through the font. |
Style | Gets style information for this Font object. |
Underline | Gets a value that indicates whether this Font object is underlined. |
Name | Description |
---|---|
Clone() | Creates an exact copy of this Font object. |
FromGdiplusFont(Font) | |
ToGdiplusFont(Font) | Creates a GDI+ .NET Font object from this object instance. |