Creates an indexed color space, consisting of colors specified by a color lookup table.
Original signature is 'CGColorSpaceRef CGColorSpaceCreateIndexed( CGColorSpaceRef baseSpace, size_t lastIndex, const unsigned char *colorTable );'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public static IntPtr CreateIndexed( IntPtr baseSpace, NSUInteger lastIndex, string colorTable )
Public Shared Function CreateIndexed ( _ baseSpace As IntPtr, _ lastIndex As NSUInteger, _ colorTable As String _ ) As IntPtr
public: static IntPtr CreateIndexed( IntPtr baseSpace, NSUInteger lastIndex, String^ colorTable )


A new indexed color space object. You are responsible for releasing this object by calling CGColorSpaceRelease. If unsuccessful, returns NULL.

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