FPDF

FPDF([string orientation [, string unit]])

Description

This is the class constructor. It allows to set up the page orientation and the measure unit used in all the methods (except for the font sizes).

Parameters

orientation
Page orientation. Possible values are (case insensitive): Default value is P.
unit
User measure unit. Possible values are: 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 mm.

Index