Click or drag to resize

GdiFontManagerGetFontStylePresence(FontFamily, FontFamily) Method

Finds out which font styles are available for the given Gdi font family.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
protected static bool GetFontStylePresence(
	FontFamily fontFamily,
	out FontFamily[] fontFamilyArray
)

Parameters

fontFamily  FontFamily
The Gdi font family.
fontFamilyArray  FontFamily
On return, contains an array of length 4, in which the 4 items correspond to font style regular, bold, italic, and bold-italic. The items of this array are either null (if the corresponding font style is unavailable), or set to fontFamily if the corresponding font style is available.

Return Value

Boolean
True if at least one font style is available; otherwise, false.
See Also