[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.Font

Font Class

Represents a GDI font object.

Implements
Namespace: C1.Framework.Drawing.Gdi
Assembly: C1.Win.Input.8.dll
Syntax
public sealed class Font : GdiObject, IDisposable, ICloneable

Constructors

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.

Properties

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.

Methods

Name Description
Clone()

Creates an exact copy of this Font object.

FromGdiplusFont(Font)

Creates a new Font object from the specified Font object.

ToGdiplusFont(Font)

Creates a GDI+ .NET Font object from this object instance.