文字の書体を変える
対応バージョン

3.0a 4.0 4.05 5.0 6.0
Windows





Macintosh





ポイント
fObj.textFont = font.Cour;
説  明
文字の書体を変えるにはtextFontプロパティに以下の値を設定します。

書体
設定値
Times-Roman
font.Times
Times-Bold
font.TimesB
Times-Italic
font.TimesI
Times-BoldItalic
font.TimesBI
Helvetica
font.Helv
Helvetica-Bold
font.HelvB
Helvetica-Oblique
font.HelvI
Helvetica-BoldOblique
font.HelvBI
Courier
font.Cour
Courier-Bold
font.CourB
Courier-Oblique
font.CourI
Courier-BoldOblique
font.CourBI
Symbol
font.Symbol
ZapfDingbats
font.ZapfD

サンプル

fObj = this.getField("Text1");
fObj.textFont = font.Cour;

 
■サンプルスクリプトを実行する >> Acrobat で動作確認
補足説明
なし