I got the answer.... Thanks.... 

--- On Fri, 19/12/08, Harsha Ravindra <hravin...@gmail.com> wrote:

From: Harsha Ravindra <hravin...@gmail.com>
Subject: Re: [iText-questions] Signature with Image alignment problem
To: telltopa...@yahoo.co.in, "Post all your questions about iText here" 
<itext-questions@lists.sourceforge.net>
Date: Friday, 19 December, 2008, 3:42 PM


hey..

u from india?

cheers


On Fri, Dec 19, 2008 at 2:45 PM, padma priya <telltopa...@yahoo.co.in> wrote:






Hello,
 
I tried to add an image with the signature. Everything is fine but how
can I set the alignment of the Image? The problem is image is getting 
overlap with signature.
 
I want to locate the image at the left hand side of the  signature info.
How can do it ?

I tried the following statements, but no effect.

Image img = Image.getInstance("sign.jpg");
sap.setImage(img);
sap.setImageScale(-2F);
img.setAlignment(Image.ALIGN_TOP);

I also tried the img.setAbsolutePosition(..), also got the same result as in my 
enclosed image.
 
And also i tried with 
sap.setRender(PdfSignatureAppearance.SignatureRenderGraphicAndDescription);
sap.setSignatureGraphic(img);

It is showing compiling error.... 
 
Please help.
 
Regards,
Padma Priya 



Add more friends to your messenger and enjoy! Invite them now.
------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php



-- 
Rgds;

Harsha



      Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/
------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to