[EMAIL PROTECTED] wrote:

What method I should call to remove border.

PdfPTable foot = new PdfPTable(1);

foot.getDefaultCell().setBorder(Rectangle.NO_BORDER);

Also I have to display header as Image. Here is code for that . But here header is height is very much. I want to make it less. So what is avaible for making header image smaller.

     image.scaleAbsolute(100, 100);

This code doesn't seem to correspond with the PDF.
Normally this scales the image to 100 x 100 pixels.
The image I see in the PDF is larger.
Maybe a better way to create that table, is to define
a fixed height and to create a PdfPCell with the image
and force the cell to scale the image.
You'll find the correct method to do this in the Javadocs.
br,
Bruno


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to