writeEPSInsideRect:toPasteboard:
ビューの指定した範囲をEPSデータにしてペーストボードへ書きます
-(void)writeEPSInsideRect:(NSRect)aRect: toPasteboard:(NSPasteboard *)pboard:
解説
ビューの指定した範囲をEPSデータにしてペーストボードへ書きます。
返り値
( void )
なし
引数
( NSRect )aRect
範囲
( NSPasteboard * )pboard
ペーストボード
フレームワーク
ApplicationKit
クラス
NSView
Instance Methods
使用可能
10.0
参照
- dataWithEPSInsideRect:
例文
#import "MyObject.h" @implementation MyObject - (IBAction)myAction:(id)sender { NSPasteboard *pboard = [NSPasteboard generalPasteboard]; [myView writeEPSInsideRect:NSMakeRect(0,0,100,100) toPasteboard:pboard ]; } @end