本文整理汇总了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');
}
示例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();
}
示例3: Header
public function Header()
{
parent::Header();
foreach ($this->listeners as $l) {
$l->onHeader();
}
}
示例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";