0

I'm writing a report with itextsharp with tables organized horizontally in groups of four, but all tables appears one beneath the other vertically. How can I write each table NEXT to the other?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Boadil
  • 11
  • 2

1 Answers1

0

There's two ways that you can accomplish this. The first is to create a 4 column outer table and add your tables to the cells within that table. The second way is to just fix the width of each table and use the PdfPTable instance method WriteSelectedRows() to write your tables at exact x,y coordinates. See my post here for how to do the latter.

Community
  • 1
  • 1
Chris Haas
  • 53,986
  • 12
  • 141
  • 274