Click or drag to resize
CanvasTextFormatGetSystemFontFamilies Method
Gets a list of font families available.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public static string[] GetSystemFontFamilies()

Return Value

Type: String
Remarks

Font family names are locale-dependent. For each font, this method returns its 'en-us' name if possible. If no 'en-us' name is available, this method returns whatever is first name enumerated for the font.

If you prefer font names to prioritize some other localization, use the overload GetSystemFontFamilies(IReadOnlyListString).

See Also