- Posts: 18
- 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
Multiple pages in single pdf
- [email protected]
- Topic Author
- Offline
- New Member
-
Less
More
IP: 192.168.0.71
9 years 3 days ago #12868
by [email protected]
Multiple pages in single pdf was created by [email protected]
Hi,
1. Which is the best practice ,whether having single pdf file with multiple pages or separate pdf file for each page ?
2. If Single file with multiple pages is good practice then in case of large size files( For ex.10MB or more) will not have any problem?
3. And What is the preferred file size?? we are going to have max 16 pages.
1. Which is the best practice ,whether having single pdf file with multiple pages or separate pdf file for each page ?
2. If Single file with multiple pages is good practice then in case of large size files( For ex.10MB or more) will not have any problem?
3. And What is the preferred file size?? we are going to have max 16 pages.
IP: 192.168.0.71
9 years 3 days ago #12869
by support
Replied by support on topic Multiple pages in single pdf
1. Best way to handle single page pdfs should be adopting ViewPager layout.
Each page should have an independent download process. Actual demo instantiates each page with a different pageNo inside it, you should tie each page to an independent doc and open it independently.
The approach is really memory consuming.
2. during our tests we managed pdf files with size exceeding 2Gbs. No matter about 10Mbs files.
3. during our tests we managed pdf files with more than 10.000 pages.
Will you work with file loaded from file system or from http streams?
The file system approach should be better mostly due to performances.
If you're interested in file protection I suggest you to adopt PDF AES encryption scheme: it's standard and optimized to access quickly from page to page in a randomic way.
Each page should have an independent download process. Actual demo instantiates each page with a different pageNo inside it, you should tie each page to an independent doc and open it independently.
The approach is really memory consuming.
2. during our tests we managed pdf files with size exceeding 2Gbs. No matter about 10Mbs files.
3. during our tests we managed pdf files with more than 10.000 pages.
Will you work with file loaded from file system or from http streams?
The file system approach should be better mostly due to performances.
If you're interested in file protection I suggest you to adopt PDF AES encryption scheme: it's standard and optimized to access quickly from page to page in a randomic way.
- [email protected]
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 0
IP: 192.168.0.71
9 years 3 days ago #12870
by [email protected]
Replied by [email protected] on topic Multiple pages in single pdf
1. Best way to handle single page pdfs should be adopting ViewPager layout.
Each page should have an independent download process. Actual demo instantiates each page with a different pageNo inside it, you should tie each page to an independent doc and open it independently.
The approach is really memory consuming.
Can you please provide any demo for independent download process?
Each page should have an independent download process. Actual demo instantiates each page with a different pageNo inside it, you should tie each page to an independent doc and open it independently.
The approach is really memory consuming.
Can you please provide any demo for independent download process?
Time to create page: 0.392 seconds