source: trunk/phpgwapi/inc/fpdf/doc/multicell.htm @ 2

Revision 2, 2.2 KB checked in by niltonneto, 17 years ago (diff)

Removida todas as tags usadas pelo CVS ($Id, $Source).
Primeira versão no CVS externo.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
Line 
1<HTML>
2<HEAD>
3<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
4<TITLE>MultiCell</TITLE>
5<LINK TYPE="text/css" REL="stylesheet" HREF="../fpdf.css">
6</HEAD>
7<BODY>
8<H2>MultiCell</H2>
9<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>
10<H4 CLASS='st'>Version</H4>
111.3
12<H4 CLASS='st'>Description</H4>
13This method allows printing text with line breaks. They can be automatic (as soon as the
14text reaches the right border of the cell) or explicit (via the \n character). As many cells
15as necessary are output, one below the other.
16<BR>
17Text can be aligned, centered or justified. The cell block can be framed and the background
18painted.
19<H4 CLASS='st'>Parameters</H4>
20<TT><U>w</U></TT>
21<BLOCKQUOTE>
22Width of cells. If <TT>0</TT>, they extend up to the right margin of the page.
23</BLOCKQUOTE>
24<TT><U>h</U></TT>
25<BLOCKQUOTE>
26Height of cells.
27</BLOCKQUOTE>
28<TT><U>txt</U></TT>
29<BLOCKQUOTE>
30String to print.
31</BLOCKQUOTE>
32<TT><U>border</U></TT>
33<BLOCKQUOTE>
34Indicates if borders must be drawn around the cell block. The value can be either a number:
35<UL>
36<LI><TT>0</TT>: no border
37<LI><TT>1</TT>: frame
38</UL>
39or a string containing some or all of the following characters (in any order):
40<UL>
41<LI><TT>L</TT>: left
42<LI><TT>T</TT>: top
43<LI><TT>R</TT>: right
44<LI><TT>B</TT>: bottom
45</UL>
46Default value: <TT>0</TT>.
47</BLOCKQUOTE>
48<TT><U>align</U></TT>
49<BLOCKQUOTE>
50Sets the text alignment. Possible values are:
51<UL>
52<LI><TT>L</TT>: left alignment
53<LI><TT>C</TT>: center
54<LI><TT>R</TT>: right alignment
55<LI><TT>J</TT>: justification (default value)
56</UL>
57</BLOCKQUOTE>
58<TT><U>fill</U></TT>
59<BLOCKQUOTE>
60Indicates if the cell background must be painted (<TT>1</TT>) or transparent (<TT>0</TT>).
61Default value: <TT>0</TT>.
62</BLOCKQUOTE>
63<H4 CLASS='st'>See also</H4>
64<A HREF="setfont.htm">SetFont()</A>,
65<A HREF="setdrawcolor.htm">SetDrawColor()</A>,
66<A HREF="setfillcolor.htm">SetFillColor()</A>,
67<A HREF="settextcolor.htm">SetTextColor()</A>,
68<A HREF="setlinewidth.htm">SetLineWidth()</A>,
69<A HREF="cell.htm">Cell()</A>,
70<A HREF="write.htm">Write()</A>,
71<A HREF="setautopagebreak.htm">SetAutoPageBreak()</A>.
72<H6></H6>
73<HR>
74<DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV>
75</BODY>
76</HTML>
Note: See TracBrowser for help on using the repository browser.