This documentation is for the old version. Go to the latest Graphics Mill docs

Font Constructor

Creates new Font class instance.

Overload List

Name Description
Public method Font()

Creates new Font class instance.

Public method Font(Font)

Creates new Font class instance. This constructor copies font settings from given System.Drawing.Font class instance.

Public method Font(Font, UnitConverterObject)

Creates new Font class instance. This constructor copies font settings from given System.Drawing.Font class instance.

Public method Font(String, Single)

Creates new Font class instance. Here you can specify font typeface name and its size.

Public method Font(Font, Single, Single)

Creates new Font class instance. This constructor copies font settings from given System.Drawing.Font class instance. You can also specify resolution here (necessary if you are using units other than Pixel).

Public method Font(String, Single, UnitConverterObject)

Creates new Font class instance. Here you can specify font typeface name and its size.

Public method Font(String, Single, Boolean, Boolean)

Creates new Font class instance. Here you can specify font typeface name, its size, and if font should be bold and/or italic.

Public method Font(String, Single, Single, Single)

Creates new Font class instance. Here you can specify font typeface name and its size. You can also specify resolution here (necessary if you are using units other than Pixel).

Public method Font(String, Single, Boolean, Boolean, UnitConverterObject)

Creates new Font class instance. Here you can specify font typeface name, its size, and if font should be bold and/or italic.

Public method Font(String, Single, Boolean, Boolean, Single, Single)

Creates new Font class instance. Here you can specify font typeface name, its size, and if font should be bold and/or italic. You can also specify resolution here (necessary if you are using units other than Pixel).

See Also

Reference