setStandardFontFamily:
標準のフォントファミリーをセットします。
-(void)setStandardFontFamily:(NSString *)family:
解説
標準のフォントファミリーをセットします。
返り値
( void )
なし
引数
( NSString * )family
クラス
WebPreferences
Instance Methods
使用可能
10.2
参照
-standardFontFamily
例文
- (IBAction)myAction:(id)sender { WebPreferences *webPref = [theWebView preferences]; [webPref setStandardFontFamily:@"Times"]; NSLog([webPref standardFontFamily]); }