I have the following code
Dim inputPdf As new PdfDocument
Try
inputPdf = PdfReader.Open(fileName, PdfDocumentOpenMode.Import)
Catch ex As Exception
End Try
I get the exception -
System.NotImplementedException: unknown token
at PdfSharp.Pdf.IO.Parser.ReadObject(PdfObject pdfObject, PdfObjectID objectID, Boolean includeReferences) in C:\PDFsharp\PdfSharp\PdfSharp.Pdf.IO\Parser.cs:line 223
at PdfSharp.Pdf.IO.PdfReader.Open(Stream stream, String password, PdfDocumentOpenMode openmode, PdfPasswordProvider passwordProvider) in C:\PDFsharp\PdfSharp\PdfSharp.Pdf.IO\PdfReader.cs:line 334
at PdfSharp.Pdf.IO.PdfReader.Open(String path, String password, PdfDocumentOpenMode openmode, PdfPasswordProvider provider) in C:\PDFsharp\PdfSharp\PdfSharp.Pdf.IO\PdfReader.cs:line 200
at PdfSharp.Pdf.IO.PdfReader.Open(String path, PdfDocumentOpenMode openmode) in C:\PDFsharp\PdfSharp\PdfSharp.Pdf.IO\PdfReader.cs:line 172
at Bcbst.IM.Services.OutboundCorrespondence.PdfBatch.MergeAndPrint() in C:\DOCUMENTS AND SETTINGS\J59546A\MY DOCUMENTS\VISUAL STUDIO 2005\PROJECTS\OutboundCorrespondenceService\PdfBatch.vb:line 120"
[/list]
|