Text GetFontName: Difference between revisions

From MultiCharts
(Created page with "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(...")
 
Line 10: Line 10:
   
   
==== Example ====
==== Example ====
<syntaxhighlight>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</syntaxhighlight>
<syntaxhighlight>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</syntaxhighlight>
   
   
[[Category:Text Drawing]]
[[Category:Text Drawing]]

Revision as of 13:18, 25 January 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_Newwhen 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