Click or drag to resize

GdiFontManagerIsFontFamilyAndStyleAvailable Method

Determines whether a font with the given font family name and font style is available.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool IsFontFamilyAndStyleAvailable(
	string fontFamilyName,
	FontXStyle style
)

Parameters

fontFamilyName  String
Name of the font family.
style  FontXStyle
The font style to test for (underline and strikeout are always available, thus they are not tested).

Return Value

Boolean
true if a font with the provided family name and style is available; otherwise, false.
See Also