/** * Writes the header for a single page. * Use the passed $objPdf to access the pdf. * * @param class_pdf_tcpdf $objPdf */ public function writeHeader($objPdf) { $objPdf->SetY(3); $objPdf->SetFont('helvetica', '', 8); // Title $objPdf->MultiCell(0, 0, $objPdf->getTitle(), "B", "C"); // Line break $objPdf->Ln(30); }