CanvasTextFormatGetSystemFontFamilies Method (IReadOnlyListString) |
Namespace: Microsoft.Graphics.Canvas.Text
public static string[] GetSystemFontFamilies( IReadOnlyList<string> localeList )
Font family names are locale-dependent. For each font, this method returns the first available of:
An application's environment has a list of locales ordered by user preference.
Using this in C# looks like:
using Windows.Globalization; ... string[] fontFamilyNames = CanvasTextFormat.GetSystemFontFamilies(ApplicationLanguages.Languages);
Passing a null locale list is valid, and is equivalent to using the GetSystemFontFamilies overload.