Pdflib表格问题

时间:2015-05-16 10:48:59

标签: php pdf pdf-generation pdflib

我对此表有疑问。当我想将它放在PDF的中心时,它会启动此错误:

  

计算表格宽度170太大

所以我的代码如下:

$searchpath = dirname(dirname(dirname(__FILE__)))."/input";

$outfile = "";

$title = "Vertical Text Alignment";
$tf=0; $tbl=0; 
/* Define the column widths of the first and the second column */
$c1 = 50; $c2 = 120;$c3 = 80;


/* Define the lower left and upper right corners of the table instance.

 * The table width of 200 matches the sum of the widths of the two table

 * columns 80 + 120.

 */

$llx=250; $lly=800; $urx=300; $ury=50;

0 个答案:

没有答案