Patrick Mugabe wrote:
>        Below is a sample of my code. I want to position this image at
> the top of the page and I can't seem to get it right. It positions it t
> the bottom of the page. How do I resolve this.

Read more about the coordinate system:
http://itextdocs.lowagie.com/tutorial/directcontent/coordinates/index.html#xycoordinates

>        cb.addTemplate(tpl,100,0);

x = 100, y = 0 means you WANT to add the logo at the bottom.
y should be (pageheight - imageheight) if you want the image
at the top.

br,
Bruno

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to