Click or drag to resize

GdiFontManagerGetFontX Method

Constructs a font from a font family name, the size and font style.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static FontX GetFontX(
	string fontFamilyName,
	double fontSize,
	FontXStyle fontStyle
)

Parameters

fontFamilyName  String
Name of the font family.
fontSize  Double
Size of the font.
fontStyle  FontXStyle
The font style.

Return Value

FontX
A FontX instance describing the font. It can then be used with the FontManager to get a Gdi+ font instance.
See Also