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