Vrishali wrote:
> I found a workaround to fix it by using the padding top on a cell. But
> padding top value would depend on the biggest font size in the first line.
> Does anyone know the way to get the biggest font size in the first line?

There's a method in PdfLine that gives you the maximum size
of the font, but... I don't understand why you need it.
It is package private and used in ColumnText to determine
the leading (among others for the first line).

I honestly don't understand your question (and why you would
need the biggest font size), but I suggest that you look into
the iText source code to understand how it works.
-- 
This answer is provided by 1T3XT BVBA

-------------------------------------------------------------------------
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

Reply via email to