Hi,

I want to set the width of every column in a pdf document, this width could be 
different for different columns. I do not know if we have a control over 
setting the width of a particular columns (which applies to all cells under it 
also), so I am trying to set the width at PdfPCell level. I am not able to find 
any appropriate methods to do that. I am creating a PdfPCell like this:

Phrase hfPhrase = new Phrase("");
hfPhrase.add(new Chunk("ABC"));
pdfPCell.setPhrase(hfPhrase);

When I try to use pdfPCell.setColspan(2), columns take more space.

Can somebody please tell me the appripriate methods to set the width of a cell?

thanks in advance.




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to