Creates the DirectX layer Font font from the System.Drawing library Font font.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public static Font CreateFont(
	Font font
)

Parameters

font
Type: System.Drawing..::.Font
The System.Drawing library Font font.

Return Value

Rerutns the DirectX layer Font font.

Exceptions

ExceptionCondition
System..::.ArgumentNullException font is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also