Location: PHPKode > scripts > PHP DataGrid > modules/fpdf/doc/fpdf.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<LINK TYPE="text/css" REL="stylesheet" HREF="../fpdf.css">
<TT>FPDF([<B>string</B> orientation [, <B>string</B> unit [, <B>mixed</B> format]]])</TT>
<H4 CLASS='st'>Version</H4>
<H4 CLASS='st'>Description</H4>
This is the class constructor. It allows to set up the page format, the orientation and the
measure unit used in all the methods (except for the font sizes).
<H4 CLASS='st'>Parameters</H4>
Default page orientation. Possible values are (case insensitive):
<LI><TT>P</TT> or <TT>Portrait</TT>
<LI><TT>L</TT> or <TT>Landscape</TT>
Default value is <TT>P</TT>.
User measure unit. Possible values are:
<LI><TT>pt</TT>: point
<LI><TT>mm</TT>: millimeter
<LI><TT>cm</TT>: centimeter
<LI><TT>in</TT>: inch
A point equals 1/72 of inch, that is to say about 0.35 mm (an inch being 2.54 cm). This
is a very common unit in typography; font sizes are expressed in that unit.
Default value is <TT>mm</TT>.
The format used for pages. It can be either one of the following values (case insensitive):
or a custom format in the form of a two-element array containing the width and the height
(expressed in the unit given by <TT>unit</TT>).
<HR STYLE="margin-top:1.2em">
<DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV>
Return current item: PHP DataGrid