new PDFDocument(...) : Index out of range exception

new PDFDocument(...) : Index out of range exception

Forum member · Jun 19, 2007
Hi, I use DynamicPDF Merder for .NET (v4) to merge document store in a SharePoint site. Here is my code sample : MergeDocument document = new MergeDocument(); foreach (SPFile doc in ListOfDoc) { PdfDocument doc = new PdfDocument(doc.OpenBinary()); document.Append(doc); } ... For some PDF documents, the code "new PdfDocument(...)" throw an Index out of range exception. I'm able to open and print the PDF. The code "doc.OpenBinary()" works fine. Someone can help me ? Thx

Re: new PDFDocument(...) : Index out of range exception

Support · Jun 19, 2007
Hello, Can you please send over the PDF document which is giving the error to our [^a|mailto:support@cete.com|Support Team^] so that they can take a look at it and try to find out what causing this error to occur. Thanks, ceTe Software Support Team.