From a8f4339077dd02438dd3ae3f31de34abef10ff59 Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Tue, 8 May 2018 11:48:35 +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);
+}
+}
+