Click or drag to resize

GraphicsFont Constructor (Font, Boolean)

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,
	bool outline
)

Parameters

font
Type: System.DrawingFont
The Font object specifying the font's typeface name, size, and style.
outline
Type: SystemBoolean
true if the font should be created with an outline around its characters; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptionfont is null.
See Also