1 | <HTML>
|
---|
2 | <HEAD>
|
---|
3 | <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
|
---|
4 | <TITLE>AddPage</TITLE>
|
---|
5 | <LINK TYPE="text/css" REL="stylesheet" HREF="../fpdf.css">
|
---|
6 | </HEAD>
|
---|
7 | <BODY>
|
---|
8 | <H2>AddPage</H2>
|
---|
9 | <TT>AddPage([<B>string</B> orientation])</TT>
|
---|
10 | <H4 CLASS='st'>Version</H4>
|
---|
11 | 1.0
|
---|
12 | <H4 CLASS='st'>Description</H4>
|
---|
13 | Adds a new page to the document. If a page is already present, the Footer() method is called
|
---|
14 | first to output the footer. Then the page is added, the current position set to the top-left
|
---|
15 | corner according to the left and top margins, and Header() is called to display the header.
|
---|
16 | <BR>
|
---|
17 | The font which was set before calling is automatically restored. There is no need to call
|
---|
18 | SetFont() again if you want to continue with the same font. The same is true for colors and
|
---|
19 | line width.
|
---|
20 | <BR>
|
---|
21 | The origin of the coordinate system is at the top-left corner and increasing ordinates go
|
---|
22 | downwards.
|
---|
23 | <H4 CLASS='st'>Parameters</H4>
|
---|
24 | <TT><U>orientation</U></TT>
|
---|
25 | <BLOCKQUOTE>
|
---|
26 | Page orientation. Possible values are (case insensitive):
|
---|
27 | <UL>
|
---|
28 | <LI><TT>P</TT> or <TT>Portrait</TT>
|
---|
29 | <LI><TT>L</TT> or <TT>Landscape</TT>
|
---|
30 | </UL>
|
---|
31 | The default value is the one passed to the constructor.
|
---|
32 | </BLOCKQUOTE>
|
---|
33 | <H4 CLASS='st'>See also</H4>
|
---|
34 | <A HREF="fpdf.htm">FPDF()</A>,
|
---|
35 | <A HREF="header.htm">Header()</A>,
|
---|
36 | <A HREF="footer.htm">Footer()</A>,
|
---|
37 | <A HREF="setmargins.htm">SetMargins()</A>.
|
---|
38 | <H6></H6>
|
---|
39 | <HR>
|
---|
40 | <DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV>
|
---|
41 | </BODY>
|
---|
42 | </HTML>
|
---|