| Home 目次>ApplicationKit>NSImage | |
initWithPasteboard:
ペーストボードからNSImageを作って初期化する
-(id) initWithPasteboard:(NSPasteboard *)pasteboard
【返り値】 | |
| id | 画像 |
| 【パラメータ】 | |
| pasteboard | ペーストボード |
【解説】
ペーストボードからNSImageを初期化して返します。
サポートされる初期設定のタイプ
● NSPostscriptPboardType(NSEPSImageRep)
● NSPDFPboardType(NSPDFImageRep)
● NSPICTPboardType(NSPICTImageRep)
● NSTIFFPboardType(NSBitmapImageRep)
初期化することができなければnilを返します。
【例文】
[[self image] initWithPasteboard: [sender draggingPasteboard]];
![]() | |
この記事を評価してください。
| Home 目次>ApplicationKit>NSImage | 修正日2006.12.26 |