diff options
author | Sashi20 | 2023-12-01 15:48:13 +0530 |
---|---|---|
committer | GitHub | 2023-12-01 15:48:13 +0530 |
commit | b36172f30c8350c1c2ce56fbf2559308b33b6103 (patch) | |
tree | 1ccae275d4987febe9d0fefe4faa762214438ffe /pdf/fpdf/doc/header.htm | |
parent | 9ebe947056e8df7b83a5f53e10059eef2a715aec (diff) | |
parent | a5a5be292f304d72cc6c8f82b15362445d54ed00 (diff) | |
download | cfd_lab_migration-b36172f30c8350c1c2ce56fbf2559308b33b6103.tar.gz cfd_lab_migration-b36172f30c8350c1c2ce56fbf2559308b33b6103.tar.bz2 cfd_lab_migration-b36172f30c8350c1c2ce56fbf2559308b33b6103.zip |
Merge pull request #7 from akshay9085/addition
create lab migration certification portal
Diffstat (limited to 'pdf/fpdf/doc/header.htm')
-rwxr-xr-x | pdf/fpdf/doc/header.htm | 37 |
1 files changed, 37 insertions, 0 deletions
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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>Header</title>
+<link type="text/css" rel="stylesheet" href="../fpdf.css">
+</head>
+<body>
+<h1>Header</h1>
+<code>Header()</code>
+<h2>Description</h2>
+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.
+<h2>Example</h2>
+<div class="doc-source">
+<pre><code>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);
+}
+}</code></pre>
+</div>
+<h2>See also</h2>
+<a href="footer.htm">Footer</a>
+<hr style="margin-top:1.5em">
+<div style="text-align:center"><a href="index.htm">Index</a></div>
+</body>
+</html>
|