Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
PageRanges parameter |
Post Reply |
Author | |
twaldorff
Beginner Joined: 28 Nov 11 Location: Denmark Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 09 Sep 15 at 8:17AM |
Thanks for the quick response.
Yes, you are absolutely right that I could build the string using pagecount information. And also that it will be very polite not to ask for pages which are not there like when doing "1-1000" on a 2-page pdf. I will change my question: Is there a fixed string (undocumented?) which corresponds to "all pages"? Thomas
|
|
mLipok
Senior Member Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 449 |
Post Options
Thanks(0)
|
First use
http://www.debenu.com/docs/pdf_library_reference/PageCount.php then you be know how many page is. |
|
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600 |
|
twaldorff
Beginner Joined: 28 Nov 11 Location: Denmark Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Hi
Various functions like RenderAsMultipageTIFFToFile has a PageRanges parameter which is a string containing like "1-3,6,7". In my case I would like to have it covering all pages. I have found that "" (empty) or "0" fails. I can make it work by setting it to "1-1000" as I know/assume that I never go beyond page 1000. But is there a proper way of doing this? Thomas
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store