I am getting the following exception when trying to open the attached PDF with PdfReader.Open. I am using version 1.3.47.
{System.IndexOutOfRangeException: Index was outside the bounds of the array.
at PdfSharpCore.Pdf.IO.Lexer.ScanHexadecimalString()
at PdfSharpCore.Pdf.IO.Lexer.ScanNextToken()
at PdfSharpCore.Pdf.IO.Parser.ParseObject(Symbol stop)
at PdfSharpCore.Pdf.IO.Parser.ReadDictionary(PdfDictionary dict, Boolean includeReferences)
at PdfSharpCore.Pdf.IO.Parser.ReadObject(PdfObject pdfObject, PdfObjectID objectID, Boolean includeReferences, Boolean fromObjecStream)
at PdfSharpCore.Pdf.IO.PdfReader.Open(Stream stream, String password, PdfDocumentOpenMode openmode, PdfPasswordProvider passwordProvider, PdfReadAccuracy accuracy)
at PdfSharpCore.Pdf.IO.PdfReader.Open(Stream stream, PdfDocumentOpenMode openmode)
}
Document.pdf
I am getting the following exception when trying to open the attached PDF with PdfReader.Open. I am using version 1.3.47.
{System.IndexOutOfRangeException: Index was outside the bounds of the array. at PdfSharpCore.Pdf.IO.Lexer.ScanHexadecimalString() at PdfSharpCore.Pdf.IO.Lexer.ScanNextToken() at PdfSharpCore.Pdf.IO.Parser.ParseObject(Symbol stop) at PdfSharpCore.Pdf.IO.Parser.ReadDictionary(PdfDictionary dict, Boolean includeReferences) at PdfSharpCore.Pdf.IO.Parser.ReadObject(PdfObject pdfObject, PdfObjectID objectID, Boolean includeReferences, Boolean fromObjecStream) at PdfSharpCore.Pdf.IO.PdfReader.Open(Stream stream, String password, PdfDocumentOpenMode openmode, PdfPasswordProvider passwordProvider, PdfReadAccuracy accuracy) at PdfSharpCore.Pdf.IO.PdfReader.Open(Stream stream, PdfDocumentOpenMode openmode) } Document.pdf