ChartDirector 7.1 (C++ Edition)

DrawArea.text


Usage

void text(const char *str, const char *font, double fontSize, int x, int y, int color);

Description

Draws text. This method is a simplified version of the DrawArea.text2 method.

Arguments

ArgumentDefaultDescription
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

None