Number of all pages
Question asked by sepideh sobhgol - July 3, 2017 at 5:27 AM
Unanswered
Hello,
How I can get the number of all pages?the code I wrote below doesnot work.... I also asked another question in my last post but nobody answered...
 
regards
    function documentViewerDocumentLoad(sender, e) {
        document.getElementById("TotalPage").textContent = e.totalPages;
    }

2 Replies

Reply to Thread
1
Pavan Chaudhari Replied
  function documentViewerPrintStart(sender, e) {
            //e.totalPages (total pages)
             log("total pages", "total pages " + e.totalPages + " pages");
        }
Pavan Chaudhari
0
Jeff Replied
How can you get the total  pages when not printing?  I need it for page navigation.

Reply to Thread