I want this code to work correctly and convert date I finsert in the textfield 
to be in the defined format. But I don't know why doesn't it work...
                PdfFormField ff = tf1.GetTextField();
                string format = "AFDate_Format('mm/dd/yyyy')";
                ff.SetAdditionalActions(PdfName.F, PdfAction.JavaScript(format, 
writer));




From: Mark Storer [mailto:[email protected]]
Sent: Monday, June 27, 2011 7:19 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] formatting

Individually?  No, I don't think so.  You can set the font, font size, text 
color, and background color of the control as a whole, but I don't think you 
can do so for the different options.

Maybe with rich text, but iText only supports getting and setting rich text 
values, it won't actually draw them for you.

--Mark Storer
  Senior Software Engineer
  Cardiff.com

import legalese.Disclaimer;
Disclaimer<Cardiff> DisCard = null;



________________________________
From: Yevgeniy Cherniak [mailto:[email protected]]
Sent: Monday, June 27, 2011 3:57 AM
To: [email protected]
Subject: [iText-questions] formatting
Is any way to define formatting for items in acroform field like combo box and 
listbox?
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to