Op 23/05/2011 12:50, Jaremi schreef:
Hey,
I use itextsharp.dll v.5.1.0.0 i and i have problem with some pdf documents to save last page in other file. I have the exception *Attempted to read past the end of the stream.*

Your PDF is probably corrupt.
A stream object has a dictionary with a /Length value.
This /Length value tells iText how many bytes the stream contains.
If the /Length value says there are 100 bytes in the stream,
and the stream only contains 99 bytes, then you get an
"Attempted to read past the end of the stream" exception.
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to