Hello,

I'm using an instance of class PdfReader, but I'm
having few problems with some of the constructors of
this kind of object.
I tried this four constructors:

PdfReader(byte[] pdfIn) 

PdfReader(InputStream is) 

PdfReader(URL url) 

PdfReader(String filename) 

and the only constructor that works fine is the last
one (passing a path to a file).
Obviously I'm passing the correct argument to each
constructor, but the first three constructors doesn't
works and gives me an error like "The document is not
valid" or something similar.

Any solutions? Because I'd prefer to use the
constructor passing an InputStream.

Thanks a lot.


Raúl Hoyos Miguel.


                
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to