问题描述
我无法在pdf的整个宽度上定义背景图像。 pdf是Letter US,参数中的格式为“ L”,pdf的大小为279.4x215.9 图像尺寸为3300x2550px 用于打印27.94mm 21.59mm dpi 300
图像占据宽度和高度的80%。我想要100%没有损坏,没有填充,没有页脚,没有页眉...
tcpdf 6.3.2 php 7.2
$diplomas->SetAutoPageBreak(TRUE,0);
$diplomas->setCellPaddings(0,0);
$diplomas->setCellMargins(0,false);
$diplomas->setPrintHeader(false);
$diplomas->SetFooterMargin(0);
$diplomas->SetRightMargin(0);
$diplomas->setPrintFooter(false);
$diplomas->Image($img_file,279,216,'',false,300,false);
//$diplomas->writeHTMLCell(0,$fond,$border=0,$ln=1,$fill=0,$reseth=false,$align='',$autopadding=false);
$diplomas->writeHTMLCell(0,$x_nom,$y_nom,$nom,$reseth=true,$autopadding=true);
$diplomas->writeHTMLCell(0,$x_ph,$y_ph,$ph,$x_date,$y_date,$date_diploma,$autopadding=true);
请问您有什么想法吗? 谢谢 克里斯
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)