I have been looking and looking and looking in the LiveCycle Designer ES help for something on changing the font and or at least the font size using JavaScript.
I don't think it can be done. :-P :-(
Would someone please verify this and if it can be done let me at least know where to look for how to do it.
Ex:
StaticText1.font.typeface;
TextField1.font.size;
To change the text size:
TextField1.font.size = "20pt";
Note however that after the value is changed for the first time you have to kick the form in some way to redraw the element. Static elements don't seem to need kicking.
The only works of course for dynamic forms. Static forms will not redraw themselves or change size parameters of anything on the form.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script