Example:
PdfPTable table = new PdfPTable(2);
PdfPCell cell = new PdfPCell();
cell.addElement(new Paragraph("Hej"));
table.addCell(cell);
cell.setHorizontalAlignment(PdfPCell.ALIGN_RIGHT);
cell = new PdfPCell();
cell.setHorizontalAlignment(PdfPCell.ALIGN_CENTER);
cell.addElement(new Phrase("Hej"));
table.addCell(cell);
add(table);
Both the Cells align left?????!!!!!!!!!
What do I do wrong?
Med venlig hilsen / Best regards,
NPS2 A/S
Helgeshøj Alle 33, 8.3
2630 Taastrup
E-mail : andreas.christensen@nps2.dk
Phone : +45 33 33 12 92
Fax : +45 33 33 63 44
Note:
Disclaimer
This transmission is intended solely for the person or entity to whom it is
addressed. It may contain privileged and confidential information. If you are
not the intended recipient, please be notified that any dissemination,
distribution or copying is strictly prohibited. If you have received this
transmission by mistake, please let us know and then delete it from your system