Skip to main content
Skip table of contents

Tables

The PdfPTable class is one of the most popular classes in the context of document creation. Let's take a look at some questions and answers regarding tables, rows and cells.

How can I convert a CSV file to a table with a repeating header row? | iText 5 PDF Development Guide

How do I change the border color of a PdfPCell? | iText 5 PDF Development Guide

How do setMinimumSize() and setFixedSize() interact? | iText 5 PDF Development Guide

How does a PdfPCell's height relate to the font size?

How to add "continue on next page" / "continued from next page" to a table?

How to add a table to the bottom of the last page? | iText 5 PDF Development Guide

How to add an image and text to the same cell? | iText 5 PDF Development Guide

How to add an inner table surrounded by text? | iText 5 PDF Development Guide

How to add inline spacing in a PdfPCell? | iText 5 PDF Development Guide

How to add two images in one cell? | iText 5 PDF Development Guide

How to change width of single column of table? | iText 5 PDF Development Guide

How to create a nested column? | iText 5 PDF Development Guide

How to create a table based on a two-dimensional array? | iText 5 PDF Development Guide

How to create a table in which the cells have different widths?

How to create a table with complex borders? | iText 5 PDF Development Guide

How to define spacing and leading in PdfPCell objects?

How to define the width of a cell? | iText 5 PDF Development Guide

How to display barcodes in a matrix-like structure? | iText 5 PDF Development Guide

How to draw a borderless table in iTextSharp? | iText 5 PDF Development Guide

How to get the rendered dimensions of text? | iText 5 PDF Development Guide

How to introduce a rowspan? | iText 5 PDF Development Guide

How to invoke a page break for nested tables? | iText 5 PDF Development Guide

How to maintain a paragraph's indentation inside a table cell?

How to make a footer stick to bottom of every pdf page?

How to nest tables without extending the inner table?

How to prevent splitting a table? | iText 5 PDF Development Guide

How to resize a PdfPTable to fit the page? | iText 5 PDF Development Guide

How to resize an Image to fit it into a PdfPCell? | iText 5 PDF Development Guide

How to set up a table display? | iText 5 PDF Development Guide

How to split a row over multiple pages? | iText 5 PDF Development Guide

How to tell iText how to clip text to fit in a cell?

How to use multiple fonts in a single cell? | iText 5 PDF Development Guide

How to write a table header if part of a table is forwarded to the next page? | iText 5 PDF Development Guide

Is it possible to set a different alignment for text on the same line in the same cell?

What is the PdfPTable.DefaultCell property used for?

What's an easy to print "first right, then down"?

Why doesn't getDefaultCell().setBorder(PdfPCell.NO_BORDER) have any effect?

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.