Difference between revisions of "Tabulation getAvailableFonts"
(Created page with " Category:Using_CGScript_with_the_Tabulation_Module {{HelpFiles}} ===Tabulation_getAvailableFonts=== To find available fonts. ===Syntax=== Tabulation_getAvailabl...") |
(Tag: visualeditor-switched) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{HelpFiles}} | ||
− | + | === Tabulation_getAvailableFonts === | |
− | |||
− | |||
− | ===Tabulation_getAvailableFonts=== | ||
To find available fonts. | To find available fonts. | ||
− | ===Syntax=== | + | === Syntax === |
Tabulation_getAvailableFonts(); | Tabulation_getAvailableFonts(); | ||
+ | === Return type === | ||
− | + | return a list of font names. | |
− | + | === Examples === | |
− | |||
<source lang="javascript"> | <source lang="javascript"> | ||
− | + | print(Tabulation_getAvailableFonts()); | |
//result: | //result: | ||
{Agency FB,Aharoni,Algerian,Andalus,Angsana New,AngsanaUPC,Aparajita,Arabic Typesetting,Arial,Arial Black,Arial Narrow,Arial Rounded MT Bold,Arial Unicode MS,Vladimir Script,Vrinda,Webdings,Wide Latin,Wingdings} | {Agency FB,Aharoni,Algerian,Andalus,Angsana New,AngsanaUPC,Aparajita,Arabic Typesetting,Arial,Arial Black,Arial Narrow,Arial Rounded MT Bold,Arial Unicode MS,Vladimir Script,Vrinda,Webdings,Wide Latin,Wingdings} | ||
− | </source> | + | </source> __NOTOC__ |
− | + | [[Category:Using CGScript with the Tabulation Module]] |
Latest revision as of 08:59, 5 June 2017
Tabulation_getAvailableFonts
To find available fonts.
Syntax
Tabulation_getAvailableFonts();
Return type
return a list of font names.
Examples
print(Tabulation_getAvailableFonts());
//result:
{Agency FB,Aharoni,Algerian,Andalus,Angsana New,AngsanaUPC,Aparajita,Arabic Typesetting,Arial,Arial Black,Arial Narrow,Arial Rounded MT Bold,Arial Unicode MS,Vladimir Script,Vrinda,Webdings,Wide Latin,Wingdings}