Revision 2,
1.2 KB
checked in by niltonneto, 18 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>Footer</TITLE> |
---|
5 | <LINK TYPE="text/css" REL="stylesheet" HREF="../fpdf.css"> |
---|
6 | </HEAD> |
---|
7 | <BODY> |
---|
8 | <H2>Footer</H2> |
---|
9 | <TT>Footer()</TT> |
---|
10 | <H4 CLASS='st'>Version</H4> |
---|
11 | 1.0 |
---|
12 | <H4 CLASS='st'>Description</H4> |
---|
13 | This method is used to render the page footer. It is automatically called by AddPage() and |
---|
14 | Close() and should not be called directly by the application. The implementation in FPDF is |
---|
15 | empty, so you have to subclass it and override the method if you want a specific processing. |
---|
16 | <H4 CLASS='st'>Example</H4> |
---|
17 | <TABLE WIDTH="100%" BGCOLOR="#E0E0E0"><TR><TD> |
---|
18 | <TT> |
---|
19 | class PDF extends FPDF<BR> |
---|
20 | {<BR> |
---|
21 | function Footer()<BR> |
---|
22 | {<BR> |
---|
23 | //Go to 1.5 cm from bottom<BR> |
---|
24 | $this->SetY(-15);<BR> |
---|
25 | //Select Arial italic 8<BR> |
---|
26 | $this->SetFont('Arial','I',8);<BR> |
---|
27 | //Print centered page number<BR> |
---|
28 | $this->Cell(0,10,'Page '.$this->PageNo(),0,0,'C');<BR> |
---|
29 | }<BR> |
---|
30 | } |
---|
31 | </TT> |
---|
32 | </TD></TR></TABLE><BR> |
---|
33 | <H4 CLASS='st'>See also</H4> |
---|
34 | <A HREF="header.htm">Header()</A>. |
---|
35 | <H6></H6> |
---|
36 | <HR> |
---|
37 | <DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV> |
---|
38 | </BODY> |
---|
39 | </HTML> |
---|
Note: See
TracBrowser
for help on using the repository browser.