Difference between revisions of "Arw SetTextFontName"
Jump to navigation
Jump to search
(→Usage) |
m (Reverted edits by 176.8.90.7 (talk) to last revision by 194.84.116.138) |
||
Line 3: | Line 3: | ||
Any font in the Fonts folder can be used; the folder is accessible from the Control Panel in Windows XP operating system. | Any font in the Fonts folder can be used; the folder is accessible from the Control Panel in Windows XP operating system. | ||
− | + | ==== Usage ==== | |
+ | <syntaxhighlight>Arw_SetTextFontName(ObjectID,"FontName")</syntaxhighlight> | ||
+ | Where: [[ObjectID]] - a numerical expression specifying the object ID number | ||
+ | |||
+ | [[FontName]] - a string expression specifying the font name | ||
+ | |||
==== Notes ==== | ==== Notes ==== | ||
An object-specific ID number is returned by [[Arw_New]] when the arrow object is created. | An object-specific ID number is returned by [[Arw_New]] when the arrow object is created. |
Revision as of 13:12, 13 February 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");