简体   繁体   English

如何知道Google Docs Viewer中的页面总数

[英]How to know the Total Number of Pages in Google Docs Viewer

I am using google docs viewer to show pdf files in my website. 我正在使用Google Docs Viewer在我的网站上显示pdf文件。 I want to show all page numbers to jump on any pages i want. 我想显示所有页码以跳到我想要的任何页面上。 which is working fine with following: 与以下工作正常:

<iframe src="https://docs.google.com/viewer?url=myurl&embedded=true&a=bi&pagenumber=12 width="600" height="780" style="border: none;"></iframe>

But i want to get no of pages of the document. 但是我不想得到该文件的页面。

TCPDF Is the best pdf generator.And it is easily customizable. TCPDF是最好的pdf生成器,并且易于定制。

  • In the Tcpdf u can show the page number and custom header and footer. 在Tcpdf中,您可以显示页码以及自定义的页眉和页脚。
  • Stylesheet is also acceptable in tcpdf. 样式表在tcpdf中也是可以接受的。
  • Images. 图片。

Links Official Link for TCPDF 链接TCPDF的官方链接

You Can Find Various of Examples In this link about TCPDF 您可以在此链接中找到有关TCPDF的各种示例

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM