Text

Text(float x, float y, string txt)

Description

Prints a character string. The origin is on the left of the first character, on the baseline. This method allows to place a string precisely on the page, but it is usually easier to use Cell(), MultiCell() or Write() which are the standard methods to print text.

Parameters

x
Abscissa of the origin.
y
Ordinate of the origin.
txt
String to print.

See also

SetFont, SetTextColor, Cell, MultiCell, Write