kishorekandavalli wrote: > i am generating placeholder in the image generated by rendering pdf qoppa it > will have some coordinates.
By placeholder, do you mean a button in an AcroForm with an image as icon? > i a passing the same coordinates while > manipulating pdf document using iText but these coordinates are not placing > the placeholder at right place. iText uses the coordinate system as described in the PDF Reference. Maybe Qoppa uses another coordinate system. I've never worked with Qoppa, but suppose they've implemented java.awt.Graphics2D, then they are using the upper left corner as origin, whereas in iText (and PDF) the lower left corner of the page is used. If that's the case, the X-values of the placeholder will be the same, but the Y-value will be counted from the bottom instead of from the top. Another reason for the difference could be the fact that the values llx and lly in the Mediabox [llx lly urx ury] aren't zero. Note that you are currently paying Qoppa to use their library; you're not paying for using iText. Why aren't you asking the people you're paying instead of us? -- This answer is provided by 1T3XT BVBA ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar