Difference between revisions of "Arw SetTextFontName"
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...") |
|||
Line 6: | Line 6: | ||
<syntaxhighlight>Arw_SetTextFontName(ObjectID,"FontName")</syntaxhighlight> | <syntaxhighlight>Arw_SetTextFontName(ObjectID,"FontName")</syntaxhighlight> | ||
− | Where: | + | 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 | + | An object-specific ID number is returned by [[Arw_New]] when the arrow object is created. |
==== Example ==== | ==== Example ==== |
Revision as of 13:27, 20 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");