diff options
author | Sashi20 | 2019-09-25 14:51:15 +0530 |
---|---|---|
committer | GitHub | 2019-09-25 14:51:15 +0530 |
commit | 66b1ce4c97e63924108f8d32fe879e9d00f36f82 (patch) | |
tree | 6837361738e4495a3bae10a670b0e6cee23c728e /pdf/fpdf/doc/header.htm | |
parent | e15cba53d7ee02f69d18ce40f460505d11102227 (diff) | |
parent | d4d9b75c2b78362eb05a6fbd288acc855ec3ec0b (diff) | |
download | om_pssp-66b1ce4c97e63924108f8d32fe879e9d00f36f82.tar.gz om_pssp-66b1ce4c97e63924108f8d32fe879e9d00f36f82.tar.bz2 om_pssp-66b1ce4c97e63924108f8d32fe879e9d00f36f82.zip |
Merge pull request #10 from Sashi20/master
Interface to download certificate, download abstract file in status interface
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..b7cd1f8 --- /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>
|