Arw SetTextFontName

From MultiCharts
Revision as of 13:32, 17 January 2012 by 194.84.116.138 (talk) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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");