You are mixing PdfCell and PdfPCell. It's two different classes.
Best Regards,
Paulo Soares
> -----Original Message-----
> From: Roland [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, February 14, 2002 21:01
> To: Paulo Soares; [EMAIL PROTECTED]
> Subject: RE: [iText-questions] Problems with Tables
>
> At 07:52 PM 2/14/02 +0000, Paulo Soares wrote:
> >You need to use PdfPTable (and PdfPCell).
> >
> >Best Regards,
> >Paulo Soares
>
> Will that work? I took a look at the source code and PdfPCell is missing
> this chunk:
>
> switch(cell.verticalAlignment())
> {
> case Element.ALIGN_BOTTOM:
> height *= rowSpan;
> break;
> case Element.ALIGN_MIDDLE:
> height *= (rowSpan / 1.5);
> break;
> default:
> height -= cellpadding * 0.4f;
> }
>
> This is the hack that makes Vertical alignment work. At least thats what
> Bruno Lowagie told me. So I suppose Vertical Alignment won't work with
> PdfPCell right?
>
> Roland
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions