Ok, resovled...I didn't see m_pdfWriter.getCurrentDocumentSize()

Regards
Raffaele

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
GAMBELLI Raffaele
Sent: mercoledì 23 aprile 2008 10.54
To: [email protected]
Subject: [iText-questions] Get byte count during pdf generation?


Hi all,
is there a way to retrieve bytes count while pdf is generated?

For example, inside a loop where I add a table to Document, I would like to 
know how many bytes are written to the stream.

I tried getting Channell from FileOutPutStream and asked him for its size, but 
it says always 0.

Any hint?
Thanks and best regards.
Raffaele

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to