Chris Fleischmann wrote:
I have a Chunk object that spans over multiple lines... I have the
setGenericTag method attached to the chunk ovhect where I was hoping I could
get the "rect" object (for the complete chunk object)...

In cases like this, I use two Chunks marked with a generic tag.
One with a "start" tag and one with an "end" tag.
When "start" is encountered, I store the coordinates in an object.
When "end" is encountered, I use the "start" coordinates and the
coordinates passed with the "end" tag to draw the rectangle.
br,
Bruno

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to