Skip to content
Fery Wardiyanto edited this page Feb 10, 2015 · 1 revision

Text

Text(<b>float</b> x, <b>float</b> y, <b>string</b> 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().
Clone this wiki locally