Plot.DrawSetTextTypeface

Prototypes

void DrawSetTextTypeface( String sTypeface )

Parameters

String sTypeface
The typeface you want used with subsequent DrawText commands. The following typefaces are available on all Windows systems: Arial, Courier New, Symbol, Times New Roman, and Wingdings.

Remarks

This method specifies the typeface to be used with subsequent DrawText commands.

The default typeface is Arial. If the requested typeface is not installed, the IMLPlus program will stop with an error.

Example
x = { 1 2 3 4 5 6 7 8 };
y = { 2 1 4 5 6 5 6 9 };
declare ScatterPlot plot;
plot = ScatterPlot.Create( "Sample Data", x, y );
plot.DrawSetTextTypeface( "Courier New" );
plot.DrawText( 50, 50, "Center" );
See Also

Plot.DrawText