Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Font.GetOSInstalledFontNames

Switch to Manual
public static function GetOSInstalledFontNames(): string[];

Returns

string[] An array of the names of all fonts installed on the machine.

Description

Get names of fonts installed on the machine.

GetOSInstalledFontNames lets you get the names of all the fonts installed on the machine. These names can be passed to CreateDynamicFontFromOSFont, to dynamically render text using any font installed on the user's OS.

no example available in JavaScript