“Cannot handle iref streams. The current implementation of PDFsharp cannot handle this PDF feature introduced with Acrobat 6.” Looking. [July 09 Update] As some people have emailed and commented, another option to work around this solution is to plugin iTextSharp and. Error Processing Command: ‘Cannot Handle iref Streams. The Current Implementation of PDFsharp Cannot Handle this PDF Feature.
|Published (Last):||7 June 2004|
|PDF File Size:||20.7 Mb|
|ePub File Size:||1.31 Mb|
|Price:||Free* [*Free Regsitration Required]|
Omatic Software Support
An unhandled exception of type ‘PdfSharp. PdfReaderException’ occurred in PdfSharp. Cannot handle iref streams. What can I do with it?
I use PDFsharp v1. I open documents using this code: Import ; And while opening one document with PDF version 1. You can use iText5 or iText7 to remove the iref streams.
PDFsharp & MigraDoc Foundation • View topic – Support for iRef Streams
PdfReader sourceStream ; iTextSharp. PdfStamper reader, outputStream ; pdfStamper. PdfReader inputStream ; iText.
PdfDocument pdfReader, new iText. PdfWriter outputStream, writerProperties ; iText. GetAcroForm pdfStamper, true ; if! SetFullCompressionMode false ; pdfStamper.
SetCloseStream false ; pdfStamper. The op clearly uses pdfsharp, not iText. In such a case it is considered bad style to answer with a solution based on that different pdf library.
Answer from knitTheCode is relevant as there are no ways jref solve this problem using only PDFSharp except for beta versions but whose can’t be used in production environmentsas stated by PDFSharp admin in link provided.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.
Post as a guest Name. Email Required, but never shown.