b374k
m1n1 1.01
Apache
Linux webd001.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
uid=2234(oyaide) gid=100(users) groups=100(users)
server ip : 213.186.33.18 | your ip : 216.73.216.159
safemode OFF
 >  / home / oyaide / www / bill / billnew / facturation / fpdf153 / doc /
Filename/home/oyaide/www/bill/billnew/facturation/fpdf153/doc/multicell.htm
Size2.39 kb
Permissionrwxr-xr-x
Owneroyaide : users
Create time03-Nov-2008 15:18
Last modified31-Dec-2004 21:47
Last accessed09-Jul-2008 07:12
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<TITLE>MultiCell</TITLE>
<LINK TYPE="text/css" REL="stylesheet" HREF="../fpdf.css">
</HEAD>
<BODY>
<H2>MultiCell</H2>
<TT>MultiCell(<B>float</B> w, <B>float</B> h, <B>string</B> txt [, <B>mixed</B> border [, <B>string</B> align [, <B>int</B> fill]]])</TT>
<H4 CLASS='st'>Version</H4>
1.3
<H4 CLASS='st'>Description</H4>
This method allows printing text with line breaks. They can be automatic (as soon as the
text reaches the right border of the cell) or explicit (via the \n character). As many cells
as necessary are output, one below the other.
<BR>
Text can be aligned, centered or justified. The cell block can be framed and the background
painted.
<H4 CLASS='st'>Parameters</H4>
<TT><U>w</U></TT>
<BLOCKQUOTE>
Width of cells. If <TT>0</TT>, they extend up to the right margin of the page.
</BLOCKQUOTE>
<TT><U>h</U></TT>
<BLOCKQUOTE>
Height of cells.
</BLOCKQUOTE>
<TT><U>txt</U></TT>
<BLOCKQUOTE>
String to print.
</BLOCKQUOTE>
<TT><U>border</U></TT>
<BLOCKQUOTE>
Indicates if borders must be drawn around the cell block. The value can be either a number:
<UL>
<LI><TT>0</TT>: no border
<LI><TT>1</TT>: frame
</UL>
or a string containing some or all of the following characters (in any order):
<UL>
<LI><TT>L</TT>: left
<LI><TT>T</TT>: top
<LI><TT>R</TT>: right
<LI><TT>B</TT>: bottom
</UL>
Default value: <TT>0</TT>.
</BLOCKQUOTE>
<TT><U>align</U></TT>
<BLOCKQUOTE>
Sets the text alignment. Possible values are:
<UL>
<LI><TT>L</TT>: left alignment
<LI><TT>C</TT>: center
<LI><TT>R</TT>: right alignment
<LI><TT>J</TT>: justification (default value)
</UL>
</BLOCKQUOTE>
<TT><U>fill</U></TT>
<BLOCKQUOTE>
Indicates if the cell background must be painted (<TT>1</TT>) or transparent (<TT>0</TT>).
Default value: <TT>0</TT>.
</BLOCKQUOTE>
<H4 CLASS='st'>See also</H4>
<A HREF="setfont.htm">SetFont()</A>,
<A HREF="setdrawcolor.htm">SetDrawColor()</A>,
<A HREF="setfillcolor.htm">SetFillColor()</A>,
<A HREF="settextcolor.htm">SetTextColor()</A>,
<A HREF="setlinewidth.htm">SetLineWidth()</A>,
<A HREF="cell.htm">Cell()</A>,
<A HREF="write.htm">Write()</A>,
<A HREF="setautopagebreak.htm">SetAutoPageBreak()</A>.
<HR STYLE="margin-top:1.2em">
<DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV>
</BODY>
</HTML>