Pls ignore my previous mail. i Could do this by
watermark_image.scaleAbsolute(stamp.getReader().getPageSize(i));
Thank you.
---------- Forwarded message ----------
From: Bapuji Nakka <bapuji.na...@gmail.com>
Date: Tue, Oct 8, 2013 at 4:02 PM
Subject: watermark image is not fitting in all the page sizes
To: itext-questions@lists.sourceforge.net
Hi,
Iam using PDFStamper for watermark. My below settings are working fine
for A4 size
watermark_image.setAbsolutePosition(0,0);
watermark_image.scaleAbsolute(650, 1100);
watermark_image.setBorder(0);
watermark_image.setBackgroundColor(BaseColor.GRAY);
watermark is not showing properly if the page size varies. how to fix this?
Thanks for your valuable support.
--
Regards,
Bapuji.Nakka | Scientific Officer
NIC | New Delhi | INDIA
Contact : 011 24101764 Ext : 614
Mobile : +91 9650 814813
Email : bapuji.na...@yahoo.co.in
--
Regards,
Bapuji.Nakka | Scientific Officer
NIC | New Delhi | INDIA
Contact : 011 24101764 Ext : 614
Mobile : +91 9650 814813
Email : bapuji.na...@yahoo.co.in
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&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