languageLevel
調査中
解説
プリンタが対応するポストスクリプト言語レベルを返します。
返り値
( int )
整数値
引数
フレームワーク
ApplicationKit
クラス
NSPrinter
Instance Methods
使用可能
10.0
参照
例文
#import "Controller.h" @implementation Controller - (IBAction)pushButton:(id)sender { int languageLevel =[[NSPrintInfo defaultPrinter] languageLevel]; NSLog([NSString stringWithFormat:@"languageLevel=%d",languageLevel]); } @end