Matthias Müller wrote: > Hi there, > i need to display an image to the very left border of an existing pdf > document. i did it following this tutorial: > http://itextdocs.lowagie.com/tutorial/general/copystamp/index.php > it works for a normal A4 document, but if there are custom page sizes (e.g. > 3xA4, 4xA4) the image positions differ. > any idea?
You can ask the reader for the page size. That will give you the dimensions that allow you to add an image at the correct location. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php