Creates a bitmap graphics context with the specified callback function.
Original signature is 'CGContextRef CGBitmapContextCreateWithData( void *data, size_t width, size_t height, size_t bitsPerComponent, size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo, CGBitmapContextReleaseDataCallback releaseCallback, void *releaseInfo );'
Available in Mac OS X v10.6 and later.

C# | Visual Basic | Visual C++ |
public static IntPtr CreateWithData( IntPtr data, NSUInteger width, NSUInteger height, NSUInteger bitsPerComponent, NSUInteger bytesPerRow, IntPtr space, CGBitmapInfo bitmapInfo, CGBitmapContextReleaseDataCallback releaseCallback, IntPtr releaseInfo )
Public Shared Function CreateWithData ( _ data As IntPtr, _ width As NSUInteger, _ height As NSUInteger, _ bitsPerComponent As NSUInteger, _ bytesPerRow As NSUInteger, _ space As IntPtr, _ bitmapInfo As CGBitmapInfo, _ releaseCallback As CGBitmapContextReleaseDataCallback, _ releaseInfo As IntPtr _ ) As IntPtr
public: static IntPtr CreateWithData( IntPtr data, NSUInteger width, NSUInteger height, NSUInteger bitsPerComponent, NSUInteger bytesPerRow, IntPtr space, CGBitmapInfo bitmapInfo, CGBitmapContextReleaseDataCallback^ releaseCallback, IntPtr releaseInfo )

- data (IntPtr)
- MISSING
- width (NSUInteger)
- MISSING
- height (NSUInteger)
- MISSING
- bitsPerComponent (NSUInteger)
- MISSING
- bytesPerRow (NSUInteger)
- MISSING
- space (IntPtr)
- MISSING
- bitmapInfo (CGBitmapInfo)
- MISSING
- releaseCallback (CGBitmapContextReleaseDataCallback)
- MISSING
- releaseInfo (IntPtr)
- MISSING

A new bitmap context, or NULL if a context could not be created. You are responsible for releasing this object using CGContextRelease.

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