MonobjcMonobjc Documented Class Library
InitWithPasteboard Method (pasteboard)
NamespacesMonobjc.AppKitNSImageInitWithPasteboard(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 virtual Id InitWithPasteboard(
	NSPasteboard pasteboard
)
Public Overridable Function InitWithPasteboard ( _
	pasteboard As NSPasteboard _
) As Id
public:
virtual Id^ InitWithPasteboard(
	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)