Font.Font

Font(Font, FontStyle)

Initializes a new instance of the Font class uses the specified existing Font and FontStyle enumeration..

public Font(Font prototype, FontStyle newStyle)
ParameterTypeDescription
prototypeFontThe existing Font from which to create the new Font.
newStyleFontStyleThe FontStyle to apply to the new Font. Multiple values of the FontStyle enumeration can be combined with the OR operator.

See Also


Font(FontFamily, float)

Initializes a new instance of the Font class.

public Font(FontFamily family, float emSize)
ParameterTypeDescription
familyFontFamilyThe FontFamily of the new Font.
emSizeSingleThe em-size, in points, of the new font.

See Also


Font(FontFamily, float, FontStyle)

Initializes a new instance of the Font class using a specified size and style..

public Font(FontFamily family, float emSize, FontStyle style)
ParameterTypeDescription
familyFontFamilyThe FontFamily of the new Font.
emSizeSingleThe em-size, in points, of the new font.
styleFontStyleThe FontStyle of the new font.

See Also


Font(FontFamily, float, FontStyle, GraphicsUnit)

Initializes a new instance of the Font class using a specified size, style, and unit.

public Font(FontFamily family, float emSize, FontStyle style, GraphicsUnit unit)
ParameterTypeDescription
familyFontFamilyThe FontFamily of the new Font.
emSizeSingleThe em-size of the new font in the units specified by the unit parameter.
styleFontStyleThe FontStyle of the new font.
unitGraphicsUnitThe GraphicsUnit of the new font.

See Also


Font(FontFamily, float, FontStyle, GraphicsUnit, byte)

Initializes a new instance of the Font class using a specified size, style, unit, and character set..

public Font(FontFamily family, float emSize, FontStyle style, GraphicsUnit unit, byte gdiCharSet)
ParameterTypeDescription
familyFontFamilyThe FontFamily of the new Font.
emSizeSingleThe em-size of the new font in the units specified by the unit parameter.
styleFontStyleThe FontStyle of the new font.
unitGraphicsUnitThe GraphicsUnit of the new font.
gdiCharSetByteGDI character set to use for the new font.

See Also


Font(FontFamily, float, FontStyle, GraphicsUnit, byte, bool)

Initializes a new instance of the Font class using a specified size, style, unit, and character set..

public Font(FontFamily family, float emSize, FontStyle style, GraphicsUnit unit, byte gdiCharSet, 
    bool gdiVerticalFont)
ParameterTypeDescription
familyFontFamilyThe FontFamily of the new Font.
emSizeSingleThe em-size of the new font in the units specified by the unit parameter.
styleFontStyleThe FontStyle of the new font.
unitGraphicsUnitThe GraphicsUnit of the new font.
gdiCharSetByteGDI character set to use for the new font.
gdiVerticalFontBooleanA Boolean value indicating whether the new font is derived from a GDI vertical font.

See Also


Font(FontFamily, float, GraphicsUnit)

Initializes a new instance of the Font class using a specified size and unit. Sets the style to Regular.

public Font(FontFamily family, float emSize, GraphicsUnit unit)
ParameterTypeDescription
familyFontFamilyThe FontFamily of the new Font.
emSizeSingleThe em-size of the new font in the units specified by the unit parameter.
unitGraphicsUnitThe GraphicsUnit of the new font.

See Also


Font(string, float)

Initializes a new instance of the Font class using a specified size.

public Font(string familyName, float emSize)
ParameterTypeDescription
familyNameStringA string representation of the FontFamily for the new Font.
emSizeSingleThe em-size, in points, of the new font.

See Also


Font(string, float, FontStyle)

Initializes a new instance of the Font class using a specified size and style.

public Font(string familyName, float emSize, FontStyle style)
ParameterTypeDescription
familyNameStringA string representation of the FontFamily for the new Font.
emSizeSingleThe em-size, in points, of the new font.
styleFontStyleThe FontStyle of the new font.

See Also


Font(string, float, FontStyle, GraphicsUnit)

Initializes a new instance of the Font class using a specified size, style, and unit.

public Font(string familyName, float emSize, FontStyle style, GraphicsUnit unit)
ParameterTypeDescription
familyNameStringA string representation of the FontFamily for the new Font.
emSizeSingleThe em-size of the new font in the units specified by the unit parameter.
styleFontStyleThe FontStyle of the new font.
unitGraphicsUnitThe GraphicsUnit of the new font.

See Also


Font(string, float, FontStyle, GraphicsUnit, byte)

Initializes a new instance of the Font class using a specified size, style, unit, and character set.

public Font(string familyName, float emSize, FontStyle style, GraphicsUnit unit, byte gdiCharSet)
ParameterTypeDescription
familyNameStringA string representation of the FontFamily for the new Font.
emSizeSingleThe em-size of the new font in the units specified by the unit parameter.
styleFontStyleThe FontStyle of the new font.
unitGraphicsUnitThe GraphicsUnit of the new font.
gdiCharSetByteA Byte that specifies a GDI character set to use for this font.

See Also


Font(string, float, FontStyle, GraphicsUnit, byte, bool)

Initializes a new instance of the Font class using the specified size, style, unit, and character set.

public Font(string familyName, float emSize, FontStyle style, GraphicsUnit unit, byte gdiCharSet, 
    bool gdiVerticalFont)
ParameterTypeDescription
familyNameStringA string representation of the FontFamily for the new Font.
emSizeSingleThe em-size of the new font in the units specified by the unit parameter.
styleFontStyleThe FontStyle of the new font.
unitGraphicsUnitThe GraphicsUnit of the new font.
gdiCharSetByteA Byte that specifies a GDI character set to use for this font.
gdiVerticalFontBooleanA Boolean value indicating whether the new Font is derived from a GDI vertical font.

See Also


Font(string, float, GraphicsUnit)

Initializes a new instance of the Font class using a specified size and unit. The style is set to Regular.

public Font(string familyName, float emSize, GraphicsUnit unit)
ParameterTypeDescription
familyNameStringA string representation of the FontFamily for the new Font.
emSizeSingleThe em-size of the new font in the units specified by the unit parameter.
unitGraphicsUnitThe GraphicsUnit of the new font.

See Also