Creates a new font object.
Syntax

[C#]

Font(string familyName, double emSize);
Font(string familyName, double emSize, FontStyle style);
Font(string familyName, double emSize, FontStyle style, GraphicsUnit unit);
Font(string familyName, double emSize, GraphicsUnit unit);
Font(Font prototype, FontStyle newStyle);
Font(FontFamily family, double emSize);
Font(FontFamily family, double emSize, FontStyle style);
Font(FontFamily family, double emSize, FontStyle style, GraphicsUnit unit);
Font(FontFamily family, double emSize, GraphicsUnit unit);

[Visual Basic]

Sub New(familyName As String, emSize As Double)
Sub New(familyName As String, emSize As Double, style As FontStyle)
Sub New(familyName As String, emSize As Double, style As FontStyle, unit As GraphicsUnit)
Sub New(familyName As String, emSize As Double, unit As GraphicsUnit)
Sub New(prototype As Font, newStyle As FontStyle)
Sub New(family As FontFamily, emSize As Double)
Sub New(family As FontFamily, emSize As Double, style As FontStyle)
Sub New(family As FontFamily, emSize As Double, style As FontStyle, unit As GraphicsUnit)
Sub New(family As FontFamily, emSize As Double, unit As GraphicsUnit)
Params
Name Description
familyName The font family name.
emSize The em-size of the font in points.
style The style for the new font.
unit The graphics unit.
prototype The existing font to use as a prototype.
family The font family of the new font.
Notes

None.

Example

None.