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 Basic | Visual C++ |
public static NSBitmapImageRep ImageRepWithPasteboard( NSPasteboard pasteboard )
Public Shared Function ImageRepWithPasteboard ( _ pasteboard As NSPasteboard _ ) As NSBitmapImageRep
public: static NSBitmapImageRep^ 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)