text

fpdf.text(x: float, y: float, txt: str)

Description

Prints a character string. The origin is on the left of the first character, on the baseline. This method allows placing a string precisely on the page, but it is usually easier to use cell, multi_cell 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

set_doc_option, set_font, set_text_color, cell, multi_cell, write.