Difference between revisions of "Text GetFontName"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
Returns a string expression corresponding to the name of the font assigned to a text object with the specified ID number. | Returns a string expression corresponding to the name of the font assigned to a text object with the specified ID number. | ||
− | + | == Usage == | |
<syntaxhighlight>Text_GetFontName(ObjectID)</syntaxhighlight> | <syntaxhighlight>Text_GetFontName(ObjectID)</syntaxhighlight> | ||
− | Where: | + | Where: |
+ | |||
+ | :'''ObjectID''' - a numerical expression specifying the object ID number. | ||
− | + | == 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. |
==== Example ==== | ==== Example ==== | ||
− | <syntaxhighlight>Text_GetFontName(3) | + | <syntaxhighlight>Text_GetFontName(3);</syntaxhighlight> |
− | to a text object with the ID number of 3 | + | Will return a string expression corresponding to the name of the font assigned to a text object with the ID number of 3. |
[[Category:Text Drawing]] | [[Category:Text Drawing]] |
Revision as of 07:52, 9 February 2012
Returns a string expression corresponding to the name of the font assigned to a text object with the specified ID number.
Usage
Text_GetFontName(ObjectID)
Where:
- ObjectID - a numerical expression specifying the object ID number.
Notes
An object-specific ID number is returned by Text_New when the text object is created.
Example
Text_GetFontName(3);
Will return a string expression corresponding to the name of the font assigned to a text object with the ID number of 3.