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.

C# | Visual Basic | Visual C++ |
public static NSPICTImageRep ImageRepWithPasteboard( NSPasteboard pasteboard )
Public Shared Function ImageRepWithPasteboard ( _ pasteboard As NSPasteboard _ ) As NSPICTImageRep
public: static NSPICTImageRep^ ImageRepWithPasteboard( NSPasteboard^ pasteboard )

- pasteboard (NSPasteboard)
- The pasteboard containing the image data.

An initialized instance of an NSImageRep subclass, or nil if the image data could not be read.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)