TCPDF is an open-source PHP library for generating PDF documents. The SetFooterMargin method can be used to set the bottom margin for the footer section of the PDF page.
Example 1: Setting the footer margin to 10mm
$pdf = new TCPDF();
$pdf->SetFooterMargin(10);
In this example, the SetFooterMargin method is used to set the bottom margin to 10mm.
Example 2: Setting the footer margin to 20mm using an array parameter
$pdf = new TCPDF();
$pdf->SetFooterMargin(array('bottom'=>20));
In this example, an array parameter is used to specify the bottom margin of 20mm.
Package/library: TCPDF.
PHP TCPDF::SetFooterMargin - 30 examples found. These are the top rated real world PHP examples of TCPDF::SetFooterMargin extracted from open source projects. You can rate examples to help us improve the quality of examples.