Click or drag to resize

GdiFontManagerGetValidFontFamilyName Method

Gets the family name from a FontX instance. If this font family name does not exist, a generic sans serif font family name is returned instead.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static string GetValidFontFamilyName(
	FontX font
)

Parameters

font  FontX
The font.

Return Value

String
Font family name, either the original name from the provided font, or if that is not valid, a valid generic font family name.
See Also