Bruno, thanks for response.  I saw the FAQ. But, please, I'm new on JAVA and
would like a simple code example. This is possible?

I'm using this code for write a simple line in pdf document:

Document document = new Document();
PdfWriter.getInstance(document, new FileOutputStream("c:\\Chap0101.pdf"));
                ///////////////////   Reader in = new InputStreamReader(new
FileInputStream("c:\\batata.txt"));
document.open();
document.add(new Paragraph("Hello World"));
document.close();

This is wors very well. But how I put that linha
                       Reader in = new InputStreamReader(new
FileInputStream("c:\\batata.txt"));
in this code?

A embrace,
Carlos Silva.


Reply via email to