Vincent Guo wrote:
> I had a pdf template with textfield ,and how can I set the background 
> color of a textfield by using iTextSharp?

See the following Java example: http://1t3xt.be/?X00004b

You'll need to adapt this line:
form.setFieldProperty(field, "bgcolor", color, null);
to the C# equivalent.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
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

Reply via email to