Using Java Agent...
We can make a table in HeaderFooter class for a proper alignment of PDF generation.
We can manipulate the header and footer section using that Table.,
There we can put our Lotus notes document also.,
Table t=new Table(1,1);
t.addCell("Hai It is Header...|");
t.setBackgroundColor(Color.blue);
ph.add(t);
HeaderFooter header= new HeaderFooter(ph, true);
header.setBorder(100);
header.setTop(500);
HeaderFooter footer = new HeaderFooter(new Phrase("Footer"), new Phrase("."));
docpdf.setHeader(header);
docpdf.setFooter(footer);
No comments:
Post a Comment