WSDocument does give the number of pages
Posted: Mon Oct 15, 2018 12:02 pm
In the webservice test TestDownload.java I modified the method testDownloadDocument to display the number of pages for a particular PDF file that I uploaded. It returns zero as the number of pages.
Here is an extract of the code to display the number of pages:
long docId = 3276800;
WSDocument mydoc = docc.getDocument(sid, docId);
System.out.println("Pages: " + mydoc.getPages());
Let me know if this is a known issues and whether this has not yet been implemented.
Thanks.
Here is an extract of the code to display the number of pages:
long docId = 3276800;
WSDocument mydoc = docc.getDocument(sid, docId);
System.out.println("Pages: " + mydoc.getPages());
Let me know if this is a known issues and whether this has not yet been implemented.
Thanks.