Srinivas P wrote:

1) Using the HeaderFooter class is not very wise, use page events instead <> Initially I used Page events only but while using text is overlapping with header for certain margins(because in my case the margins are not hard coded by me, these are specified by end user)that’s why I moved to HeaderFooter class with this I felt some what comfortable with margins,

OK.

<> <>2) Can’t you compose a Phrase that contains an Image chunk AND some text?

I tried but unable to compose a Phrase with both Image and text, will it be possible?

Try harder: http://itextdocs.lowagie.com/tutorial/objects/images/#special
Image img = Image.getInstance("pngnow.png");
img.scalePercent(70);
Chunk ck = new Chunk(img, 0, -5);
Phrase p1 = new Phrase("This is an image ");
p1.add(ck);
p1.add(" just here.");
document.add(p1);
br,
Bruno


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to