![]() SetRotation(90) tVerticalAlignment(Element.ALIGNBOTTOM) table.addCell(cell) // row 3, cell 2 cell = new PdfPCell(new Phrase('different borders')) To set the horizontal alignment we use the setHorizontalAlignment completeRow // Setting table's cells vertical alignment PdfPCell cells setFont(font) PdfPCell cell = new PdfPCell(new Phrase(chunk)) tHorizontalAlignment(align) tBorder(border) tBackgroundColor(bColor). Sets tHorizontalAlignment(Element.ALIGNRIGHT) cell.disableBorderSide(Rectangle.BOX) tbl.addCell(cell) cell = new PdfPCell(new Phrase('some random I need a PDFP table and I do not want to borders on it, the below code does not seem to accomplish what i setHorizontalAlignment(Element. Void, setHorizontalAlignment(int horizontalAlignment). Protected int The index of the duplicate PdfContentByte where the border lines will be drawn. Indicates if the PdfPTable is complete once added to the document. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |