Giuseppe, beppecosta wrote > If I call reader.selectpages ('1, 5, 26') for a pdf that has only 20 > pages, I get page 1, 5 and 20. > Is this correct ?
That looks like a case of garbage in, garbage out. Seriously, if the behavior of a method for invalid input is not documented, don't assume it to be consistent with how you would expect it to be. Furthermore, after seeing a certain behavior for such a case, don't assume it to remain like that in the future and exploit it in your code. No one will consider a change of such behavior a regression. Regards, Michael -- View this message in context: http://itext-general.2136553.n4.nabble.com/selectpages-for-non-existing-page-tp4659480p4659483.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php