Paulo, Thanks for your prompt response. Would it work if i used the PdfWriter to recreate the checkboxes and paint them into a new document from scratch? Thanks, Satish
-----Original Message----- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 9:41 AM To: Chandrasekharan, Satish; [email protected] Subject: RE: [iText-questions] Problems with changing bgcolor on checkboxes You can't change the bgcolor on the checkboxes because the checkboxes are not recreated as in the case of text fields. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Chandrasekharan, Satish > Sent: Thursday, February 16, 2006 3:28 PM > To: [email protected] > Subject: [iText-questions] Problems with changing bgcolor on > checkboxes > > Hello, > I'm using the classes PdfStamper and AcroFields to highlight > unchecked checkboxes and text fields that do not have text in > them. The setFieldProperty(fieldname,bgcolor, new > Color(0xFF,0xFF,0x00),null) manages to change the background > color on all the text fields, but fails to do so for the > checkboxes. I do a getAppearanceStates() on the field name to > get the checkbox items, but i cannot seem to call > setFieldProperty on the checkbox items.Any ideas on how to > change the bgcolor on the checkboxes? > Thanks, > Satish -----Message Disclaimer----- This e-mail message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by reply email to [EMAIL PROTECTED] and delete or destroy all copies of the original message and attachments thereto. Email sent to or from the Principal Financial Group or any of its member companies may be retained as required by law or regulation. Nothing in this message is intended to constitute an Electronic signature for purposes of the Uniform Electronic Transactions Act (UETA) or the Electronic Signatures in Global and National Commerce Act ("E-Sign") unless a specific statement to the contrary is included in this message. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
