1,501
edits
(→Usage) |
m (Reverted edits by 176.8.90.7 (talk) to last revision by JoshM) |
||
Line 5: | Line 5: | ||
Any font in the ''Fonts'' folder can be used; the folder is accessible from the ''Control Panel'' in Windows XP operating system. In Windows 7, an overview of the installed fonts can be found in the C:\Windows\Fonts folder. | Any font in the ''Fonts'' folder can be used; the folder is accessible from the ''Control Panel'' in Windows XP operating system. In Windows 7, an overview of the installed fonts can be found in the C:\Windows\Fonts folder. | ||
== Usage == | |||
<syntaxhighlight>Text_SetFontName(ObjectID, "FontName")</syntaxhighlight> | |||
Where: | |||
:'''ObjectID''' - a numerical expression specifying the object ID number. | |||
:'''FontName''' - a string expression specifying the font name. | |||
== Notes == | == Notes == | ||
* An object-specific ID number is returned by [[Text_New]] when the text object is created. | * An object-specific ID number is returned by [[Text_New]] when the text object is created. |