我正在使用PHP中的TCPDF创建PDF文档,我需要将数据包含在PDF文档中,并且不留底部边距,数据将会放置在页面的末尾。
$pdf->SetLeftMargin(14);
$pdf->SetTopMargin(6);
$pdf->SetFont($fontname, '', '9');
$pdf->setPrintHeader(false);
$pdf->SetFooterMargin(0);
$pdf->setPrintFooter(false);
$pdf->AddPage();
$pdf->writeHTML($html, true, 0, true, 0);
我正在使用上述代码。有人知道如何在tcpdf中去除PDF的边距空间吗?