[C#] | public void text(string str, string font, double fontSize, int x, int y, int color); |
[VB] | Public Sub text(str As String, font As String, fontSize As Double, x As Integer, y As Integer, color As Integer) |
ChartDirector 7.1 (.NET Edition)
DrawArea.
Usage
[C#] | public void text(string str, string font, double fontSize, int x, int y, int color); |
[VB] | Public Sub text(str As String, font As String, fontSize As Double, x As Integer, y As Integer, color As Integer) |
Description
Arguments
Argument | Default | Description |
---|---|---|
str | (Mandatory) | A string representing the text to be drawn. CDML |
font | (Mandatory) | The font name. See Font Specification for details on various font attributes. |
fontSize | (Mandatory) | The font size in points. |
x | (Mandatory) | The x coordinate of the top-left corner of the text. |
y | (Mandatory) | The y coordinate of the top-left corner of the text. |
color | (Mandatory) | The color of the text. |
Return Value