I create a footer where i put one image, but the image (gif) goes at the top of
each page (i tried with small image but same problem). Here is the code:

        /**
         * Create the footer for pdf document.
         * 
         * @return header of document;
         */
        private HeaderFooter getPdfFooter(){
                HeaderFooter footer = null;
                Paragraph p = new Paragraph();
                try{
                        addImage(p, "themes/main/sigla.gif");
                        footer.disableBorderSide(footer.BOTTOM);
                        footer.disableBorderSide(footer.TOP);
        }catch(Exception e){
                e.printStackTrace();
        }
                return footer;
        }
I set the footer with m_doc.setFooter(getPdfFooter());

Could somebody tell me how to add this image to footer?

Tanks!



-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to