macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

printDocument:

メニューから呼び出されて文書を印刷します
-(IBAction)printDocument:(id)sender:

解説

メニューから呼び出されて文書を印刷します。

返り値

( IBAction )

アクション

引数

( id )sender

送信オブジェクト

フレームワーク

ApplicationKit

クラス

NSDocument

Instance Methods

使用可能

10.0

参照

- printInfo
- runPageLayout:
- setPrintInfo:
- shouldChangePrintInfo:

例文

-(IBAction)printDocument:(id)sender
{
NSLog(@"printDocument");
[super printDocument:sender];
}