|
Hi All,
I need to add the image in
header with text. Text is fine here but once I try to add the image its not
taking.
Here is code what I wrote to
implement image in header
try{
jpg = com.lowagie.text.Image.getInstance("c:/Reports/logo.jpg"); }catch(Exception e){System.out.println(e);} Table headtable =
new
Table(1);
headtable.addCell(jpg); RtfHeaderFooter header = new RtfHeaderFooter(headtable); header.setBorder(header.NO_BORDER); doc.setHeader(header); Please someone help me, if
possible give me small chunck of example code.
Thanks &
Regards
Dharmendra Sharma
NextLinx India Pvt
Ltd,
NITON, No 11,
Palace Road, Bangalore - 52.
Ph :- 91-80-51131580
|
- [iText-questions] (no subject) foreignman
- [iText-questions] (no subject) lee boon tatt
- [iText-questions] (no subject) Lucian Sasu
- [iText-questions] (no subject) foreignman
- [iText-questions] (no subject) Pallavi Zende
- [iText-questions] (no subject) Dong Wang
- [iText-questions] (no subject) Ljupka Doncevska
- RE: [iText-questions] (no subject) Paulo Soares
- [iText-questions] (no subject) Dharmendra Sharma
- [iText-questions] (no subject) Henning Vortisch
- RE: [iText-questions] (no subject) Paulo Soares
- [iText-questions] (no subject) Abraham, Ben
- [iText-questions] (No Subject) Yuri Andr� de Barros Gon�alves
- RE: [iText-questions] (No Subject) Paulo Soares
- [iText-questions] (no subject) Pelle
- RE: [iText-questions] (no subject) Paulo Soares
- [iText-questions] (no subject) foreignman
