On 16/08/2013 9:07, anu wrote: > 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.
Seems like you didn't read the documentation: http://itextpdf.com/examples/iia.php?id=280 > Does getPageSize(pageNumber) provide me the coordinates where the contents > end? Of course not. > Or it provides me the page size which is constant for all pages? It provides the page size which can vary because different pages can have different sizes! ------------------------------------------------------------------------------ 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