MonobjcMonobjc Documented Class Library
InitWithColorSyncProfile Method (prof)

Initializes and returns an NSColorSpace object given a ColorSync profile.

Original signature is '- (id)initWithColorSyncProfile:(void *)prof'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithColorSyncProfile(
	IntPtr prof
Public Overridable Function InitWithColorSyncProfile ( _
	prof As IntPtr _
) As Id
virtual Id^ InitWithColorSyncProfile(
	IntPtr prof
prof (IntPtr)
The ColorSync profile to use when initializing the NSColorSpace object. This should be an object of opaque type CMProfileRef. See ColorSync Manager Reference for further information on CMProfileRef.
Return Value
The initialized NSColorSpace object or nil if initialization was not successful.
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)