Hi,

I am having trouble writing a PdfPTable to a template.
The code looks basically like this:

PdfContentByte byteWriter = writer.getDirectContent();
PdfPTemplate abrechnungErgebnis = byteWriter.createTemplate(totalWidth,
height);
byteWriter.addTemplate(abrechnungErgebnis, leftMargin(),
Util.toPts(140));
PdfPTable ae = new PdfPTable(2);
// adding cells....
ae.setTotalWidth(totalWidth);
ae.writeSelectedRows(0,-1,leftMargin(),Util.toPts(160),abrechnungErgebni
s);


The problem is that nothing appears. The size variables should be
alright.

Can you help?

Thanks,
Marc



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to