MonobjcMonobjc Documented Class Library
NSImage Constructor (pasteboard)
NamespacesMonobjc.AppKitNSImageNSImage(NSPasteboard)

Initializes and returns an NSImage instance with data from the specified pasteboard.

Original signature is '- (id)initWithPasteboard:(NSPasteboard *)pasteboard'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSImage(
	NSPasteboard pasteboard
)
Public Sub New ( _
	pasteboard As NSPasteboard _
)
public:
NSImage(
	NSPasteboard^ pasteboard
)
Parameters
pasteboard (NSPasteboard)
The pasteboard containing the image data.
Return Value
An initialized NSImage instance, or nil if the method cannot create an image representation from the contents of the pasteboard.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)