MonobjcMonobjc Documented Class Library
ImageRepWithData Method (bitmapData)

Creates and returns an NSBitmapImageRep object initialized with the first image in the supplied data.

Original signature is '+ (id)imageRepWithData:(NSData *)bitmapData'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSBitmapImageRep ImageRepWithData(
	NSData bitmapData
Public Shared Function ImageRepWithData ( _
	bitmapData As NSData _
) As NSBitmapImageRep
static NSBitmapImageRep^ ImageRepWithData(
	NSData^ bitmapData
bitmapData (NSData)
A data object containing one or more bitmapped images. The bitmapData parameter can contain data in any supported bitmap format.
Return Value
An NSBitmapImageRep instance or nil if the class is unable to create an image representation.
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)