简体   繁体   English

如何使用TCPDF在整个页面上做边框

[英]how can I make a border around the whole page using TCPDF

Just as the title asks. 就像标题要求的一样。 I've been struggling with using TCPDF for reports for the website i work on and my boss wants some of them to have a table stretching all the way down to the bottom of the page. 我一直在努力使用TCPDF为我正在工作的网站生成报告,而我的老板希望其中的一些表一直延伸到页面底部。 I just can't get any bordered container to stretch all the way to the bottom. 我只是无法得到任何有边界的容器一直延伸到底部。

I suggest use the mothod Line 我建议使用方法线

Use one line for each side of the page by setting the right size. 通过设置正确的尺寸,在页面的每一侧使用一行。

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

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