MonobjcMonobjc Documented Class Library
ImageRepWithPasteboard Method (pasteboard)
NamespacesMonobjc.AppKitNSCIImageRepImageRepWithPasteboard(NSPasteboard)

Creates and returns an image representation object using the contents of the specified pasteboard.

Original signature is '+ (id)imageRepWithPasteboard:(NSPasteboard *)pasteboard'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSCIImageRep ImageRepWithPasteboard(
	NSPasteboard pasteboard
)
Public Shared Function ImageRepWithPasteboard ( _
	pasteboard As NSPasteboard _
) As NSCIImageRep
public:
static NSCIImageRep^ ImageRepWithPasteboard(
	NSPasteboard^ pasteboard
)
Parameters
pasteboard (NSPasteboard)
The pasteboard containing the image data.
Return Value
An initialized instance of an NSImageRep subclass, or nil if the image data could not be read.
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)