Click or drag to resize

GraphicsFont Constructor (Font)

Initializes a graphics font using a Font object.

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(
	Font font
)

Parameters

font
Type: System.DrawingFont
The Font object specifying the font's typeface name, size, and style.
Exceptions
ExceptionCondition
ArgumentNullExceptionfont is null.
Remarks
This is the same as initializing a graphics font using GraphicsFont(Font, Boolean) with no outline.
See Also