![]() ![]() These cells will copy the properties of the DefaultCell that is defined at the level of the PdfPTable, so you need to change this: = Rectangle.LEFT | Rectangle.RIGHT In this case, you don't create a PdfPCell object yourself, you let iTextSharp create the cells. For the last cell in the row you should also add the right border: cell.Border = PdfPCell.LEFT | PdfPCell.RIGHT Ģ. In this case, only the left border of the cell will be shown. You create PdfPCell objects explicitly: PdfPCell cell = new PdfPCell() Ĭell.AddElement(new Paragraph("my content")) How to do this, depends on how you add the cells to the table.ġ. You can change the borders of the cells so that they only show the vertical lines. Posted on StackOverflow on by Semil Sebastian AddCell ( new Phrase ( " CLASS AVG", font1 ) ) AddCell ( new Phrase ( " MAX MARK", font1 ) ) ![]() AddCell ( new Phrase ( " MARKS", font1 ) ) AddCell ( new Phrase ( " SUBJECTS", font1 ) ) AddCell ( new Phrase ( " SL.NO", font1 ) ) There's no way to freeze rows or columns in Confluence tables.Table.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |