当前位置: 首页>>代码示例>>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;未经允许,请勿转载。