method enumFonts

object enumFonts();

Argumente

Zurückgegebener Wert

The method returns a basics::dictionary containing the TrueType fonts installed in the operating system. Currently only the key is used in the dictionary returned.
function enumFonts()
{
    var dictionary = appUtils.enumFonts();
    if (dictionary)
    {
        var fontList = dictionary.allKeys();
        var count    = fontList.count;
        for (var i = 0; i < count; ++i)
        {
            shell.print(fontList.getValue(i));
        }
    }
}