TCPDF 中图像的边框宽度
Border width on image in TCPDF
我在 TCPDF
中用 $pdf->Image(...
创建了一个图像并设置了 border value to = 1.
但是如何更改边框的宽度?
SetLineWidth() 方法将起作用。
http://www.tcpdf.org/doc/code/classTCPDF.html#a0ef34c0ce76bd8e4671da42b3588d9b6
我通过调整example_003.php第38行的Image()调用中的border参数启用边框进行了测试,然后如下调整并观察到边框变粗了:
$this->SetLineWidth( 1 );
$this->Image($image_file, 10, 10, 15, '', 'JPG', '', 'T', false, 300, '', false, false, 1, false, false, false);
我在 TCPDF
中用 $pdf->Image(...
创建了一个图像并设置了 border value to = 1.
但是如何更改边框的宽度?
SetLineWidth() 方法将起作用。
http://www.tcpdf.org/doc/code/classTCPDF.html#a0ef34c0ce76bd8e4671da42b3588d9b6
我通过调整example_003.php第38行的Image()调用中的border参数启用边框进行了测试,然后如下调整并观察到边框变粗了:
$this->SetLineWidth( 1 );
$this->Image($image_file, 10, 10, 15, '', 'JPG', '', 'T', false, 300, '', false, false, 1, false, false, false);