class PDF extends FPDF { //Costruttore (obbligatorio per PHP3) function PDF() { $this->FPDF(); } //Intestazione function Header() { //Carattere Arial gras 15 $this->SetFont('Arial','B',15); //Spostamento a destra $this->Cell(80); //Cella titolo con bordo $this->Cell(30,10,'Titre',1,0,'C'); //Salto di linea $this->Ln(20); } } |