In TCPDF, this getAliasNbPages return value {:ptp:} so How can i get integer

末鹿安然 提交于 2019-12-19 12:01:58

问题


In TCPDF vthis function show value {:ptp:} so How can i get interger.

So please help me. I need this value because i need apply some condition.

I have lot of checked documentation. But i can't found the solution.


回答1:


You only can get an alias because you not know the total page number until the end of the document. TCPDF replace the placeholder alias at $pdf->Output() with the correct number.



来源:https://stackoverflow.com/questions/51761325/in-tcpdf-this-getaliasnbpages-return-value-ptp-so-how-can-i-get-integer

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!