From 80213cecf41ede861bffbf1370185d20d672ceba Mon Sep 17 00:00:00 2001 From: prashant Date: Fri, 27 Mar 2015 17:27:37 +0530 Subject: initial commit --- pdf/fpdf/doc/header.htm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 pdf/fpdf/doc/header.htm (limited to 'pdf/fpdf/doc/header.htm') diff --git a/pdf/fpdf/doc/header.htm b/pdf/fpdf/doc/header.htm new file mode 100755 index 0000000..b7cd1f8 --- /dev/null +++ b/pdf/fpdf/doc/header.htm @@ -0,0 +1,37 @@ + + +
+ +Header()
+class PDF extends FPDF
+{
+function Header()
+{
+ // Select Arial bold 15
+ $this->SetFont('Arial','B',15);
+ // Move to the right
+ $this->Cell(80);
+ // Framed title
+ $this->Cell(30,10,'Title',1,0,'C');
+ // Line break
+ $this->Ln(20);
+}
+}
+