标签: hyperlink screen tcpdf
我正在研究pdf使用TCPDF库,我希望在生成的PDF上显示链接,但仅用于屏幕,在打印文档时不打印。
答案 0 :(得分:0)
似乎一切都指向
$pdf->setVisibility('screen');
行前
https://hotexamples.com/examples/-/TCPDF/startLayer/php-tcpdf-startlayer-method-examples.html
之后
$pdf->setVisibility('all');