source: companies/celepar/phpgwapi/inc/fpdf/doc/header.htm @ 763

Revision 763, 1.3 KB checked in by niltonneto, 15 years ago (diff)

Importação inicial do Expresso da Celepar

Line 
1<HTML>
2<HEAD>
3<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
4<TITLE>Header</TITLE>
5<LINK TYPE="text/css" REL="stylesheet" HREF="../fpdf.css">
6</HEAD>
7<BODY>
8<H2>Header</H2>
9<TT>Header()</TT>
10<H4 CLASS='st'>Version</H4>
111.0
12<H4 CLASS='st'>Description</H4>
13This method is used to render the page header. It is automatically called by AddPage() and
14should not be called directly by the application. The implementation in FPDF is empty, so
15you 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>
19class PDF extends FPDF<BR>
20{<BR>
21function Header()<BR>
22{<BR>
23&nbsp;&nbsp;&nbsp;&nbsp;//Select Arial bold 15<BR>
24&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;SetFont('Arial','B',15);<BR>
25&nbsp;&nbsp;&nbsp;&nbsp;//Move to the right<BR>
26&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;Cell(80);<BR>
27&nbsp;&nbsp;&nbsp;&nbsp;//Framed title<BR>
28&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;Cell(30,10,'Title',1,0,'C');<BR>
29&nbsp;&nbsp;&nbsp;&nbsp;//Line break<BR>
30&nbsp;&nbsp;&nbsp;&nbsp;$this-&gt;Ln(20);<BR>
31}<BR>
32}
33</TT>
34</TD></TR></TABLE><BR>
35<H4 CLASS='st'>See also</H4>
36<A HREF="footer.htm">Footer()</A>.
37<H6></H6>
38<HR>
39<DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV>
40</BODY>
41</HTML>
Note: See TracBrowser for help on using the repository browser.