Thanks Valentin. I am able to sign the PDF. The exact problem it providing the coordinates of the rectangle. My PDFs are dynamically generated and even if I go to the last page, am not able to provide the coordinates. One PDF ends almost in the middle of the page/ another in the end. The rectangle has to be placed accordingly where the content ends.
Does getPageSize(pageNumber) provide me the coordinates where the contents end? Or it provides me the page size which is constant for all pages? Thanks in advance. Anu -- View this message in context: http://itext-general.2136553.n4.nabble.com/Applying-digital-signatures-to-existing-PDFs-tp4658905p4658931.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php