Hello,

A signed signature appearance has a transparent background by default. Is
there a way to overwrite the default? I tried to set background color to
white when signing a signature field using the following code, but had
problems to make it work.

PdfTemplate n0 = sap.getLayer(0);
n0.setBoundingBox(rect);
n0.setColorFill(Color.WHITE); 
//Compile problem
//PdfSignatureAppearance.getWriter().addDirectTemplateSimple(n0, new
PdfName("n0")); 

Please help, thanks in advance!
Judy
-- 
View this message in context: 
http://old.nabble.com/How-to-set-a-background-color-in-a-signature-appearance-tp27761565p27761565.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to