MonobjcMonobjc Documented Class Library
BitmapImageRepByRetaggingWithColorSpace Method (newSpace)

Changes the colorSpace tag of the receiver.

Original signature is '- (NSBitmapImageRep *)bitmapImageRepByRetaggingWithColorSpace:(NSColorSpace *)newSpace'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSBitmapImageRep BitmapImageRepByRetaggingWithColorSpace(
	NSColorSpace newSpace
Public Overridable Function BitmapImageRepByRetaggingWithColorSpace ( _
	newSpace As NSColorSpace _
) As NSBitmapImageRep
virtual NSBitmapImageRep^ BitmapImageRepByRetaggingWithColorSpace(
	NSColorSpace^ newSpace
newSpace (NSColorSpace)
The desired colorSpace.
Return Value
An NSBitmapImageRep, or nil, if the conversion fails. If the original NSBitmapImageRep already uses that colorSpace, it is returned as is.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)