Creates a new Font using specified parameters.
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
C# |
---|
public static Font CreateFont( string fontFamily, float emSize, FontStyle fontStyle, GraphicsUnit graphicsUnit ) |
Parameters
- fontFamily
- Type: System..::.String
A string representation of the font family for the new font.
- emSize
- Type: System..::.Single
The em-size of the new font in the units specified by the unit parameter.
- fontStyle
- Type: System.Drawing..::.FontStyle
The style of the new font.
- graphicsUnit
- Type: System.Drawing..::.GraphicsUnit
The GraphicsUnit of the new font.