简体   繁体   English

TCPDF自定义页脚(HTML!)

[英]TCPDF custom footer (HTML!)

I found how to create custom footers with TCPDF, but this is only applying with text. 我发现了如何使用TCPDF创建自定义页脚,但这仅适用于文本。 Is there any possibility to use html? 有可能使用html吗? There is a function called "writeHTMLCell" but it needs x and -coordinates which I think is a problem. 有一个名为“ writeHTMLCell”的函数,但它需要x和-coordinates,我认为这是一个问题。

您可以使用TCPDF类的getX()和getY()函数获取X和Y坐标。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM