I need to know the rectangle containing a Paragraph for various reasons 
(e.g. to draw a border around it).

I used the onGenericTag method of PdfPageEvent interface, but is limited 
to Chunk(s).
The onParagraph and onParagraphEnd method of same interface, pass only 
the vertical position of the paragraph, not the width and the starting 
point.
Beside this limitation, it can be difficult to identify which Paragraph 
the event is referencing if I am not in a very simple document structure.

So the final question is: how can I determine the position and rectangle 
of a generic Paragraph (or Phrase) object?

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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