I am using Acrobat Prof 6.02 for this project,
Can I add font style in my Javascript?
I have a JC that pulls different fields to make a letter. The text field is set to Times New Roman, is there a script to change a variable in the middle of my script to Times New Roman Bold and the go back to Times New Roman?
Example:
(times New Roman) Dear sue,
Re: account number (times new roman bold) 1234 (times new roman),
Thanks in advance!
var f = this.getField("textField");
f.textfont = "Times-Roman";
What's important is knowing the precise name for the font you want displayed.
ted
The author of numerous books on Acrobat, Photoshop, Illustrator and the Adobe Creative Suite, and an international speaker on Adobe Acrobat, Ted Padova is a well-known PDF guru.