Click or drag to resize

GraphicsFont Constructor (String, Int32)

Initializes a graphics font with the typeface name and size.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public GraphicsFont(
	string name,
	int size
)

Parameters

name
Type: SystemString
The typeface name of the font.
size
Type: SystemInt32
The size of the font.
Remarks
This is the same as initializing a graphics font using GraphicsFont(String, Int32, FontStyle, Boolean) with a regular font style and no outline.
See Also