- Posts: 3
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
Load single page from large PDF
- stuartsoftAR
- Topic Author
- Offline
- New Member
-
Less
More
IP: 192.168.0.71
11 years 11 months ago #6427
by stuartsoftAR
Load single page from large PDF was created by stuartsoftAR
I'm currently working with the Android SDK ver 2.9.9. I have a 100+ page PDF in my app as a reference guide for the user. I want to be able to display ONE specific page in the pdf without rendering all 100 pages. It takes 90 seconds to load and display the entire pdf, so I need a way to only send the page I want to the PDFview for displaying. I'm currently using the PDFReader from the preview SDK to display my content. Any help is appreciated.
IP: 192.168.0.71
11 years 11 months ago - 11 years 11 months ago #6430
by radaee
Replied by radaee on topic Load single page from large PDF
are demo project open this PDF file need 90 seconds?
or do you rendered all pages in manual way?
or do you rendered all pages in manual way?
Last edit: 11 years 11 months ago by .
- stuartsoftAR
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
IP: 192.168.0.71
11 years 11 months ago - 11 years 11 months ago #6439
by stuartsoftAR
Replied by stuartsoftAR on topic Load single page from large PDF
I'm using the PDFReader class from the demo project. Again, I need to be able to open and display a single page at a time from a 100+ page pdf. Is there any way to prevent the class from rendering the other 99 pages that aren't currently on the screen?
For reference, I've already set the global.render_mode to draft and I'm still getting abysmal load times.
For reference, I've already set the global.render_mode to draft and I'm still getting abysmal load times.
Last edit: 11 years 11 months ago by Vinoth.
IP: 192.168.0.71
11 years 11 months ago #6441
by radaee
Replied by radaee on topic Load single page from large PDF
PDFReader only render the pages on screen.
- stuartsoftAR
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
IP: 192.168.0.71
11 years 11 months ago #6444
by stuartsoftAR
Replied by stuartsoftAR on topic Load single page from large PDF
Well, then what can I do to improve performance? 90 seconds is far too long to load a pdf.
Time to create page: 0.520 seconds