On Mon, Jan 30, 2012 at 10:56 PM, Kevin Day <ke...@trumpetinc.com> wrote: > If you can provide the full stack trace, it would be a big help. Links to > the SO articles would also be useful if you still have them handy.
================ [IndexOutOfRangeException: Index was outside the bounds of the array.] iTextSharp.text.pdf.parser.LocationTextExtractionStrategy.GetResultantText() +505 iTextSharp.text.pdf.parser.PdfTextExtractor.GetTextFromPage(PdfReader reader, Int32 pageNumber, ITextExtractionStrategy strategy) +52 iTextSharp.text.pdf.parser.PdfTextExtractor.GetTextFromPage(PdfReader reader, Int32 pageNumber) +40 ================ Here are a couple of links to the SO questions: http://stackoverflow.com/questions/8951408/index-was-outside-the-bounds-of-the-array-while-reading-a-pdf-using-itextsharp http://stackoverflow.com/questions/8578793/itextsharp-v5-gettextfrompage-throws-indexoutofrangeexception Here is the most interesting one, and also has the most information on what the user tried to extract images from a PDF: http://stackoverflow.com/questions/8493559/why-is-my-image-distorted-when-decoding-as-flatedecode-using-itextsharp/8511314#8511314 None of them have links to example PDFs, however... Thanks! ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ 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