Thanks Bruno, it works. I enjoy using iText.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno Lowagie (iText) Sent: Tuesday, October 24, 2006 11:52 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Positioning 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.ht ml#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 ------------------------------------------------------------------------- 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
