From a5a5be292f304d72cc6c8f82b15362445d54ed00 Mon Sep 17 00:00:00 2001 From: akshay9085 Date: Fri, 1 Dec 2023 15:31:41 +0530 Subject: create lab migration certification portal --- 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..0228159 --- /dev/null +++ b/pdf/fpdf/doc/header.htm @@ -0,0 +1,37 @@ + + + + +Header + + + +

Header

+Header() +

Description

+This method is used to render the page header. It is automatically called by AddPage() and +should not be called directly by the application. The implementation in FPDF is empty, so +you have to subclass it and override the method if you want a specific processing. +

Example

+
+
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);
+}
+}
+
+

See also

+Footer +
+
Index
+ + -- cgit