0
我有以下代碼:HTML2FPDF - 定位的WriteHTML輸出
function convert($contents, $name){
echo($link); //prints nothing
$pdf=new HTML2FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10, "Entry Report");
$pdf->SetFont('Arial', '', 12);
$pdf->Cell(100,10, $_SESSION['currdate']);
$pdf->WriteHTML($contents);
$pdf->Output($name, "D");
}
默認情況下的WriteHTML內容在頂部放置在PDF中...我如何偏移被放置在該wrriten內容pdf通過writeHTML函數...