I'm using the following code:
PdfPTable lPdfPTable = new PdfPTable(1);
lPdfPTable.getDefaultCell().setHorizontalAlignment(Element.ALIGN_LEFT);
lPdfPTable.getDefaultCell().setVerticalAlignment(Element.ALIGN_TOP);
lPdfPTable.addCell(lPhrase);
PdfPTable.setTotalWidth(300);
lPdfPTable.writeSelectedRows(0, -1, mX, mY, mPdfContentByte);
But, the text is in the cell is not vertically aligned at top. Am I missing
something here?
Regards,
Ramana.JV.
-----Original Message-----
From: Paulo Soares [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 10:25 AM
To: 'Jaladurgam, Ramana'; [EMAIL PROTECTED]
Subject: RE: [iText-questions] Vertical aligning with ColumnText
Use a PdfPTable.
Best Regards,
Paulo Soares
> -----Original Message-----
> From: Jaladurgam, Ramana [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, August 13, 2003 15:41
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Vertical aligning with ColumnText
>
> Hello,
> I actually have a single line of text and want it to be vertically
> aligned(Center/bottom). I am using ColumnText. But, it appears like
> ColumnText won't align the text vertically.
> Any tweaks or ideas?
>
> Regards,
> Ramana.JV.
>
>
> **********************************************************************
> ****
> **
> This email may contain confidential material.
> If you were not an intended recipient,
> Please notify the sender and delete all copies.
> We may monitor email to and from our network.
> **************************************************************************
> **
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_
> 01/0
> 1
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
****************************************************************************
This email may contain confidential material.
If you were not an intended recipient,
Please notify the sender and delete all copies.
We may monitor email to and from our network.
****************************************************************************
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions