Plot.DrawSetTextStyle

Prototypes

void DrawSetTextStyle( int nStyle )

Parameters

int nStyle
A predefined constant specifying the style of text drawn by subsequent DrawText commands. The valid values are STYLE_REGULAR, STYLE_BOLD, STYLE_ITALIC, and STYLE_BOLDITALIC.

Remarks

This method specifies the style of text drawn by subsequent DrawText commands.

The default text style is STYLE_REGULAR.

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.DrawSetTextStyle( STYLE_ITALIC );
plot.DrawText( 50, 50, "Center" );
See Also

Plot.DrawText