Hi all, I need be able to find the height of a cell that was just created with the data having been placed into the cell. The thing is, I do not know how much data is going into the cell as the data is pulled from a database. It could be a few words long or 500 words long. I have gone through the iText Docs that I downloaded with all the classes and tried to figure out how I can do it, but I find nothing of value, or I am missing it altogether. My book has not yet arrived and am expecting it maybe next week, if I am lucky. Chapters tends to be slow to my area for some reason.. Has anyone tried doing this??
Example code I am using:
outLine = quoteValidity;
outPara = new Paragraph(outLine,
FontFactory.getFont(FontFactory.HELVETICA, 10));
cell = new PdfPCell(new Paragraph(outPara));
cell.setBorder(Rectangle.NO_BORDER);
cell.setHorizontalAlignment(Element.ALIGN_LEFT);
inTable03.addCell(cell);
Thanks in advance.
Glen Hamel
Lead Programmer / Technician
Auric Networks Canada, Inc.
570 Orwell Street, Unit 1
Mississauga, Ontario
L5A 3V7
Phone 905.361.7621
Fax 905.274.3912
http://www.auricnet.ca<<image/jpeg>>
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ 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
