GRAPH.Font |
strFont = GRAPH.Font( BYVAL nControl AS INTEGER, BYVAL type AS INTEGER, BYVAL font AS STRING ) AS STRING
Set the font for specified element. The font is specified as a string with the following format: "name,size,bold|normal,italic|normal". If the font string is omitted, the current font is returned.
The following CONSTs are defined in MyBASIC2_GRAPH.BIS
NG_Title = 1 Set Title Font NG_Label = 2 Set Label Font NG_Ticks = 3 Set Tick Font
Example:
GRAPH.Font( nControl, NG_Title, "Arial,14,Bold,Normal" )
|