sap.setVisibleSignature(new Rectangle(100, 100, 300, 200), 1, null);
PdfTemplate n1 = sap.getLayer(1); //get rid of the question mark
PdfTemplate n2 = sap.getLayer(2);
Image img = Image.getInstance("c:\\my_image.gif");
img.scaleAbsoluteWidth(n2.getWidth());
img.setAbsolutePosition(0, 0);
n2.addImage(img);
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Wahaj
> Sent: Thursday, November 18, 2004 2:04 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Setting Image in Signature Appearance
> 
> Hi,
> 
> Does some one know how to set an Image in the signature 
> apperance ? The
> sap.setVisibleSignature(new Rectangle(100, 100, 300, 300), 1, null);
> function can set text but didn't find any function to set an 
> image there. Is
> it possible using iText 142 version ?
> 
> Regards,
> Wahaj
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: InterSystems CACHE
> FREE OODBMS DOWNLOAD - A multidimensional database that combines
> robust object and relational technologies, making it a perfect match
> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to