Arw SetTextFontName

From MultiCharts
Revision as of 13:12, 13 February 2012 by Admin (talk | contribs) (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138)
Jump to navigation Jump to search

Assigns the specified font to the text of an arrow object with the specified ID number; returns a value of -2 if the specified object ID number is invalid.

Any font in the Fonts folder can be used; the folder is accessible from the Control Panel in Windows XP operating system.

Usage

Arw_SetTextFontName(ObjectID,"FontName")

Where: ObjectID - a numerical expression specifying the object ID number

FontName - a string expression specifying the font name

Notes

An object-specific ID number is returned by Arw_New when the arrow object is created.

Example

Assign font Verdana to the text of an arrow object with the ID number of 3:

Value1=Arw_SetTextFontName(3,"Verdana");