Home >Backend Development >PHP Tutorial >么劲,tcpdf的坐标有关问题

么劲,tcpdf的坐标有关问题

WBOY
WBOYOriginal
2016-06-13 10:11:36936browse

么劲,tcpdf的坐标问题
好不容易说服自己还是一个一个输出吧,别转了,但是


$pdf->Image('./images/invoice/oxford-summer-school-logo.gif', 40, 38,'' , '', 'GIF');


html页面上图片是marginp-top:38px margin-left:40px


但是写在tcpdf里,测量了一下明显变成了距离 100多px了。。


不会了,,怎么精确??

------解决方案--------------------
实例化 tcpdf 时不时有个计量单位吗?默认是 mm,对你的示例来说应该是 pt

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn