如何在 Mpdf v7 中删除页面 4 边设置的边距?
我已经尝试过以下代码,但没有用:
$mpdf = new \Mpdf\Mpdf( [ 'utf-8', 'A4', 0, '', 0, 0, 0, 0, 0, 0 ] );
我也试过这个,但我遇到了除零错误:
$mpdf = new \Mpdf\Mpdf( [
'mode' => 'utf-8',
'format' => 'A4',
'margin_left' => 0,
'margin_right' => 0,
'margin_top' => 0,
'margin_bottom' => 0,
'margin_header' => 0,
'margin_footer' => 0
] );
一只名叫tom的猫