MonobjcMonobjc Documented Class Library
CreateICCBased Method (nComponents, range, profile, alternate)
NamespacesMonobjc.ApplicationServicesCGColorSpaceCreateICCBased(NSUInteger, IntPtr, IntPtr, IntPtr)

Creates a device-independent color space that is defined according to the ICC color profile specification.

Original signature is 'CGColorSpaceRef CGColorSpaceCreateICCBased( size_t nComponents, const CGFloat *range, CGDataProviderRef profile, CGColorSpaceRef alternate );'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr CreateICCBased(
	NSUInteger nComponents,
	IntPtr range,
	IntPtr profile,
	IntPtr alternate
)
Public Shared Function CreateICCBased ( _
	nComponents As NSUInteger, _
	range As IntPtr, _
	profile As IntPtr, _
	alternate As IntPtr _
) As IntPtr
public:
static IntPtr CreateICCBased(
	NSUInteger nComponents, 
	IntPtr range, 
	IntPtr profile, 
	IntPtr alternate
)
Parameters
nComponents (NSUInteger)
MISSING
range (IntPtr)
MISSING
profile (IntPtr)
MISSING
alternate (IntPtr)
MISSING
Return Value
A new ICC-based color space object. You are responsible for releasing this object by calling CGColorSpaceRelease. If unsuccessful, returns NULL.
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)