François Miermont wrote:
> Hi,
> 
> I’m using iTextSharp since a few years and I’m very happy with it.
> 
> Anyway, I have a little question : I parse some HTML code to extract it 
> and transform into pdf. No problem with that, using HTmlWorker. The 
> problem is that I want to know the height of the resulting PdfPCell, but 
> don’t know how to this.
> 
> Here is my code :
> 
> PdfPCell cell = new PdfPCell();
> 
> ArrayList list = HTMLWorker.ParseToList(new StringReader(“SOME HTML 
> CODE”), styles);
> 
> IElement elem;
> 
> for (int k = 0; k < list.Count; ++k)
> {
>      elem = (IElement)list[k];
>      cell.AddElement(elem);
> }
> 
> Is there a way to know the resulting height of the cell ?

You probably didn't get any answer because the question doesn't really
makes sense without providing its context.

This could be a possible context:
http://1t3xt.info/examples/browse/?page=example&id=347
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to