Difference between revisions of "Tabulation getAvailableFonts"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
{{HelpFiles}}
  
[[Category:Using_CGScript_with_the_Tabulation_Module]]
+
=== Tabulation_getAvailableFonts ===
{{HelpFiles}}
 
 
 
===Tabulation_getAvailableFonts===
 
  
 
To find available fonts.
 
To find available fonts.
Line 11: Line 9:
 
Tabulation_getAvailableFonts();
 
Tabulation_getAvailableFonts();
  
===Return type===
+
=== Return type ===
  
 
return a list of font names.
 
return a list of font names.
  
===Examples===
+
=== Examples ===
 +
 
 
<source lang="javascript">
 
<source lang="javascript">
  print(Tabulation_getAvailableFonts());
+
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__
__NOTOC__
 

Revision as of 10:43, 2 December 2016


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}