Difference between revisions of "Arw SetTextFontName"

From MultiCharts
Jump to navigation Jump to search
(Created page with "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 F...")
(No difference)

Revision as of 13:32, 17 January 2012

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");