|
Hi,
I'm using the onStartPage to
display a PdfPTable on every page(similar to a header). I've increased the top
margin size and I am trying to set the absolute positioning of the PdfPTable
using the writeSelectedRows(), but I'm getting an error stating that the table width must be greater than
zero. My table width percentage is set
to 100, though. The code where I try to set the positioning looks like
this:
PdfContentByte cb = new
PdfContentByte(writer);
theTable.writeSelectedRows(0,6,0,200,cb);
doc.add(theTable);
Do u see something wrong?
Thank you!
|
