Location: PHPKode > projects > Punchout! Timecard System > punchout_r13/fpdf153/doc/write.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<LINK TYPE="text/css" REL="stylesheet" HREF="../fpdf.css">
<TT>Write(<B>float</B> h, <B>string</B> txt [, <B>mixed</B> link])</TT>
<H4 CLASS='st'>Version</H4>
<H4 CLASS='st'>Description</H4>
This method prints text from the current position. When the right margin is reached (or the \n
character is met) a line break occurs and text continues from the left margin. Upon method exit,
the current position is left just at the end of the text.
It is possible to put a link on the text.
<H4 CLASS='st'>Parameters</H4>
Line height.
String to print.
URL or identifier returned by AddLink().
<H4 CLASS='st'>Example</H4>
//Begin with regular font<BR>
$pdf-&gt;Write(5,'Visit ');<BR>
//Then put a blue underlined link<BR>
<H4 CLASS='st'>See also</H4>
<A HREF="setfont.htm">SetFont()</A>,
<A HREF="settextcolor.htm">SetTextColor()</A>,
<A HREF="addlink.htm">AddLink()</A>,
<A HREF="multicell.htm">MultiCell()</A>,
<A HREF="setautopagebreak.htm">SetAutoPageBreak()</A>.
<HR STYLE="margin-top:1.2em">
<DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV>
Return current item: Punchout! Timecard System