Write(**float** h, **string** txt [, **mixed** link])
This method prints text from the current position. When the right margin is reached (or the \n character is found), a line break occurs and the text continues from the left margin. Upon exiting the method, the current position is left right at the end of the text.
It's possible to put a link in the text.
h
: Line height.txt
: String to be printed.link
: URL or identifier returned by AddLink().// Start with regular font
$pdf->SetFont('Arial', '', 14);
$pdf->Write(5, 'Visit ');
// Then put a blue underlined link
$pdf->SetTextColor(0, 0, 255);
$pdf->SetFont('', 'U');
$pdf->Write(5, 'www.forgepdf.org', 'http://www.forgepdf.org');