想要为仅屏幕TCPDF显示LInk

时间:2018-05-17 09:11:53

标签: hyperlink screen tcpdf

我正在研究pdf使用TCPDF库,我希望在生成的PDF上显示链接,但仅用于屏幕,在打印文档时不打印。

1 个答案:

答案 0 :(得分:0)

似乎一切都指向

$pdf->setVisibility('screen');

行前

https://hotexamples.com/examples/-/TCPDF/startLayer/php-tcpdf-startlayer-method-examples.html

之后

$pdf->setVisibility('all');