MonobjcMonobjc Documented Class Library
CreateWithData Method (data, type, count, options)
NamespacesMonobjc.ApplicationServicesCGImageDestinationCreateWithData(NSMutableData, NSString, NSUInteger, NSDictionary)

Creates an image destination that writes to a Core Foundation mutable data object.

Original signature is 'CGImageDestinationRef CGImageDestinationCreateWithData ( CFMutableDataRef data, CFStringRef type, size_t count, CFDictionaryRef options );'

Available in Mac OS X version 10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr CreateWithData(
	NSMutableData data,
	NSString type,
	NSUInteger count,
	NSDictionary options
)
Public Shared Function CreateWithData ( _
	data As NSMutableData, _
	type As NSString, _
	count As NSUInteger, _
	options As NSDictionary _
) As IntPtr
public:
static IntPtr CreateWithData(
	NSMutableData^ data, 
	NSString^ type, 
	NSUInteger count, 
	NSDictionary^ options
)
Parameters
data (NSMutableData)
MISSING
type (NSString)
MISSING
count (NSUInteger)
MISSING
options (NSDictionary)
MISSING
Return Value
An image destination. You are responsible for releasing this object using CFRelease.
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)