I am trying to add a watermark for the pdf. Here is my code.
Image img =
Image.getInstance(Toolkit.getDefaultToolkit().createImage("avvid_133x70.gif"
), null);
Watermark watermark = new Watermark(img, 10, 20);
document.add(watermark);
I
I need some help/advice on the use of PDFPtable vs Table. Considering I am
interested only in PDF. I thought PDFPtable provides richer functionality
than Table. That being said. This is what I would use with 'Table' for my
need.
table.endHeaders(); (need to repeat the headers for table automatic
--Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Paulo
Soares
Sent: Thursday, September 05, 2002 4:38 AM
To: 'Ram Guttikonda'; Itext-Questions
Subject: RE: [iText-questions] PDFPtable vs Table
PdfPTable has other way of setting the header size and s
Hi All!
I am using PDFTemplate and pageEvent.
1. How do I add a table to the PDFTemplate so that I can simulate header and
footer with flexibility of adding images, text etc.
2. How do I add text to PDFTemplate at a particular position?.
I need to repeat a header and footer which contains imag
You might want to do something like this..
HttpServletResponse _hsr = _requestContext.getResponse(); //get the servlet
response
_hsr.setContentType("application/pdf");
String disposition = "attachment; filename=" + ;
_hsr.setHeader("Content-disposition", disposition);
Hope that helps.
Chee