0

I have a Table made of many PdfPcell like this:

enter code cell = New PdfPCell(New Phrase(txt0, myfontB))
                        cell.BackgroundColor = New BaseColor(System.Drawing.ColorTranslator.FromHtml("#f5f5f5"))
                        cell.PaddingTop = 15
                        cell.PaddingBottom = 15
                        cell.Border = 0
                        cell.Colspan = 2
                        tablegg.AddCell(cell)



                        cell = New PdfPCell(New Phrase(txt1, myfontN))
                        cell.BackgroundColor = New BaseColor(System.Drawing.ColorTranslator.FromHtml("#f5f5f5"))
                        cell.PaddingTop = 15
                        cell.PaddingBottom = 5
                        cell.Border = 0
                        cell.Colspan = 2
                        tablegg.AddCell(cell) here

My problem it's, where txt1 is long the PdfPcell is wrote directly next page, instead to continue part on first page and the rest on next page. Any suggestion how to fix it?

Tks V

user3699954
  • 31
  • 1
  • 4

0 Answers0