Develop wrote: > Hi, > > For my table, I'm using PdfPTable, so I will be able to get the total > height of my table. > Now I need to know other thing. > I need to know the height that a piece of text will use when write > them to my pdf document. I know the width of my text box but I can't > find a way to get where the text finish. I need to know because I need > to put something right after the end of the text (an image, a table, > other text box).
That's not that evident... If you add a Chunk with a non breaking space and add a 'generic tag' to this Chunk, then you can add the extra object in the corresponding page event. br, Bruno _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
