hi,
Thanks Bruno.
I have successfuly implemented this using Paragraph
and Phrase. below is a piece of code:

PdfPCell cell = new PdfPCell(new
Paragraph(strDesc1,font));
cell.setColspan(1); 
cell.setHorizontalAlignment(Element.ALIGN_CENTER);
cell.setVerticalAlignment(Element.ALIGN_BOTTOM);
cell.setBorder(Rectangle.NO_BORDER);
cell.setFixedHeight(12); 
table.addCell(cell);

PdfPCell cell2 = new PdfPCell(new
Paragraph(strDesc2,font));
cell2.setColspan(1);
cell2.setHorizontalAlignment(Element.ALIGN_CENTER);
cell2.setVerticalAlignment(Element.ALIGN_BOTTOM);
cell2.setBorder(Rectangle.NO_BORDER);
cell2.setFixedHeight(12);
table.addCell(cell2);
        
PdfPCell cell3 = new PdfPCell(new
Paragraph(strDesc3,font));
cell3.setColspan(1);
cell3.setHorizontalAlignment(Element.ALIGN_CENTER);
cell3.setVerticalAlignment(Element.ALIGN_BOTTOM);
cell3.setBorder(Rectangle.NO_BORDER);
cell3.setFixedHeight(12);
table.addCell(cell3);

table.addCell(new Phrase(new Chunk(image139, 0, 0)));
table.addCell(new Phrase(new Chunk(image239, 0, 0)));
table.addCell(new Phrase(new Chunk(image339, 0, 0)));

document.add(table);

Thanks,
-Raja

--- Bruno Lowagie <[EMAIL PROTECTED]> wrote:

> Raja Kantamneni wrote:
> 
> >Bruno,
> >Thanks again. I could not figure out a way to
> specify
> >rowspan parameter or number of  rows for PdfPTable.
> I
> >found there is a method to specify colspan
> >(setColspan(int)), but not rows. Could you please
> let
> >me know how to specify number of rows in a column.
> >  
> >
> rowspan is not supported in PdfPTable.
> You can mimic rowspan by nesting tables.
> br,
> Bruno
> 
> 
>
-------------------------------------------------------
> This SF.Net email is sponsored by xPML, a
> groundbreaking scripting language
> that extends applications into web and mobile media.
> Attend the live webcast
> and join the prime developer group breaking into
> this new coding territory!
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> iText-questions mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to