Overload List

Displays 2D non-rotated label at the specified x and y screen coordinates.

public abstract Void TextOut(System.Int32, System.Int32, System.String)

Displays 2D non-rotated label (in ChartFont f) at the specified x and y screen coordinates.

public Void TextOut(Steema.TeeChart.Drawing.ChartFont, System.Int32, System.Int32, System.String, System.Boolean)

Displays 2D non-rotated label (in ChartFont f) at the specified x and y screen coordinates.

public Void TextOut(Steema.TeeChart.Drawing.ChartFont, System.Int32, System.Int32, System.String)

Displays 2D non-rotated label at the specified x,y and z screen coordinates.

public abstract Void TextOut(System.Int32, System.Int32, System.Int32, System.String, System.Boolean)

Displays 2D non-rotated label at the specified x,y and z screen coordinates.

public abstract Void TextOut(System.Int32, System.Int32, System.Int32, System.String)

Remarks


The TextOut method displays the "St" string parameter at the specified X Y screen coordinates. Text is outputted to the correct internal Drawing Canvas. The X and Y coordinates must be valid and fit inside the Chart rectangle. It uses the current Chart.Drawing.Font attributes.

Writes text at the named co-ordinates.

Example


[C#]

private void tChart1_AfterDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g) 
{
     g.TextOut(80,40, "My message");
}

Example 2


[C#]

This code displays a message at TChart1 center position:

private void tChart1_AfterDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g) 
{
     g.TextOut((tChart1.Left + tChart1.Width)/2,(tChart1.Top + tChart1.Height)/2,"Welcome");
}

See Also

Graphics3D Class | Graphics3D Members | Steema.TeeChart.Drawing Namespace