當前位置: 首頁>>代碼示例>>PHP>>正文


PHP FPDF::Header方法代碼示例

本文整理匯總了PHP中FPDF::Header方法的典型用法代碼示例。如果您正苦於以下問題:PHP FPDF::Header方法的具體用法?PHP FPDF::Header怎麽用?PHP FPDF::Header使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在FPDF的用法示例。


在下文中一共展示了FPDF::Header方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: Header

 function Header()
 {
     //Logo
     parent::Header();
     $this->Image('../images/logo.png', 10, 8, 45);
     $this->SetFont('Helvetica', 'B', 13);
     $this->SetTitle("Allan");
     $this->SetXY(50, 15);
     $this->Cell(0, 0, 'EQUITY INVESTMENT BANK REVENUE REPORT', 0, 0, 'C');
 }
開發者ID:Kemallyson,項目名稱:Wizglobal,代碼行數:10,代碼來源:revenueReport.php

示例2: Header

 function Header()
 {
     parent::Header();
     $this->SetY($this->h * -1);
     //$this->image('images/logo.png',$this->lMargin,2,70,10);
     $this->SetY($this->h * -1);
     $this->SetFont('Arial', 'B', 10);
     $this->SetTextColor(0);
     //$this->Cell(0,10,'Sistem Informasi Perkiraan ',0,1,'R');
     $this->SetY($this->h * -1 + 5);
     //$this->Cell(0,10,'CV. Surabaya Intelectual Club ',0,1,'R');
     //$this->SetFillColor(0,0,0);
     //$this->Cell($this->w-$this->rMargin-$this->lMargin,0.2,'',1,0,'L',1);
     //Return Font to normal
     //$this->SetFont('Arial','',11);
     //$this->SetX($this->lMargin);
     //$this->SetY(($this->h*-1)+$this->tMargin);
     $this->_makePageSize();
 }
開發者ID:rosyid33,項目名稱:sppam,代碼行數:19,代碼來源:pdftable.inc.php

示例3: Header

 public function Header()
 {
     parent::Header();
     foreach ($this->listeners as $l) {
         $l->onHeader();
     }
 }
開發者ID:jayhealey,項目名稱:pdflib,代碼行數:7,代碼來源:libPDF.php

示例4: FPDF

        $this->Cell(15, 4, 'Interval', 1);
        $this->Cell(15, 4, 'Point', 1);
        $this->Ln();
        for ($i = 0; $i < count($g); $i++) {
            $this->Cell(150);
            $this->Cell(15, 4, '' . $g[$i], 1);
            $this->Cell(15, 4, '' . $in[$i], 1);
            $this->Cell(15, 4, '' . $p[$i], 1);
            $this->Ln();
        }
        $this->Ln();
    }
}
$pdf = new FPDF('L', 'mm', 'A4');
$pdf->AddPage();
$pdf->Header();
// the variables that hopefully generated by quering the database.
$name = "Abdullah Al Zakir Hossain";
$fname = "Prof. Dr. Mokbul Hossain";
$mname = "Mrs. Zakia Hossain";
$sroll = "04101009";
$group = "CSE";
$subjectname[] = "Bangla 1st paper";
$subjectname[] = "Bangla 2nd paper";
$subjectname[] = "English 1st paper";
$subjectname[] = "English 2nd paper";
$subjectname[] = "General Math";
$subjectname[] = "Religious Studies";
$subjectname[] = "General Science";
$subjectname[] = "Geography";
$subjectname[] = "History";
開發者ID:aazhbd,項目名稱:pdftest_old,代碼行數:31,代碼來源:home.php


注:本文中的FPDF::Header方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。