【发布时间】:2017-11-08 15:35:30
【问题描述】:
下面的代码有个小问题
<?php
require('fpdf17/fpdf.php');
//A4 width : 219mm
//default margin : 10mm each side
//writable horizontal : 219-(10*2)=189mm
$pdf = new FPDF('P','mm','A4');
$pdf->AddPage();
//set font to arial, bold, 14pt
$pdf->SetFont('Arial','B',14);
//Cell(width , height , text , border , end line , [align] )
$pdf->Cell(200 ,5,'National Remote Sensing Center',1,1,'C');
$pdf->Cell(50 ,5,'Flight REquisition Form',1,1,'C');
我有一个标题和一个副标题。但我需要它们之间的一些线高。谁能告诉线高调整的代码? 提前致谢。
【问题讨论】:
-
查看文档或示例。
-
@panther - 这里不是 multicell() vs cell() 的另一篇文章吗?似乎略有不同,还是两种情况下的行为相同?