Look for the crop box, it sets the visible boundaries of the page.
Paulo
________________________________
From: Lokesh Siddalingaiah [mailto:[email protected]]
Sent: Monday, December 06, 2010 7:56 AM
To: [email protected]
Subject: [iText-questions] Problem inserting watermark in a pdf file with
varying page-size
Adding watermark at absolute position in pdf where each page may be of varying
sizes. It works fine in some pdf docs.
But when I am trying to add a image as watermark at absolute position while
absoluteX=10f and absolute y = rectangle.getLeft()+
(rectangle.getWidth()-image.getPlainWidth());
For some page-sizes, the image does not get added at absoluteX=10f have to
increase it to 300f or more. How to correctly fetch the absolute position for
the left.
--
Regards,
Lokesh S
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
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