Returns the NSColor currently on the given pasteboard.
Original signature is '+ (NSColor *)colorFromPasteboard:(NSPasteboard *)pasteBoard'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public static NSColor ColorFromPasteboard( NSPasteboard pasteBoard )
Public Shared Function ColorFromPasteboard ( _ pasteBoard As NSPasteboard _ ) As NSColor
public: static NSColor^ ColorFromPasteboard( NSPasteboard^ pasteBoard )

- pasteBoard (NSPasteboard)
- The pasteboard from which to return the color.

The color currently on the pasteboard or nil if pasteBoard doesn’t contain color data. The returned color’s alpha component is set to 1.0 if ignoresAlpha returns YES.

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