Text GetFontName

From MultiCharts
Jump to navigation Jump to search

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.
  • Use Text_SetFontName to set the font for a text object.

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.