“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):||8 September 2013|
|PDF File Size:||6.92 Mb|
|ePub File Size:||5.34 Mb|
|Price:||Free* [*Free Regsitration Required]|
PDFsharp & MigraDoc Foundation • View topic – Cannot handle iref streams
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. PdfReader sourceStream ; iTextSharp. PdfStamper reader, outputStream ; pdfStamper. PdfReader inputStream ; iText. PdfDocument pdfReader, new iText. PdfWriter outputStream, writerProperties ; iText.
PDFsharp & MigraDoc Foundation • View topic – Support for iRef Streams
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 to 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.
PDFsharp & MigraDoc Foundation