By Date: <-- -->
By Thread: <-- -->

Assign pdfs to the 3 different states of a push button



No problem with that. Use the code in the PushbuttonField javadoc but instead of an image use a template with a PDF page inside. The result is a button with a normal appearance. To set the other appearances set another template with another page in the same PushbuttonField instance, call getApperance() and in the previously returned field call setAppearance() with the down or rollover key. You need the iText version in the CVS to do that.
 
Paulo


From: Dan Phillips [mailto:dan.phillips (at) instanetforms.com]
Sent: Tuesday, February 07, 2006 7:32 PM
To: Paulo Soares
Subject: Assign pdfs to the 3 different states of a push button

Is it possible to apply icon images (pdf based) to the different appearances of  form field buttons (Normal, Push and Rollover) with the Itext sdk?
 

Regards

Dan Phillips

dan.phillips (at) instanetforms.com