Asks user for choosing a font.

Namespace:  SGP.XUtility
Assembly:  SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718

Syntax

C#
public static Font ChooseFont(
	string fontFamily,
	float sizeF,
	FontStyle fontStyle
)

Parameters

fontFamily
Type: System..::.String
A font family.
sizeF
Type: System..::.Single
A font size.
fontStyle
Type: System.Drawing..::.FontStyle
A font style.

Return Value

The selected font, if no font has been selected, returns nullNothingnullptra null reference (Nothing in Visual Basic).

See Also