MonobjcMonobjc Documented Class Library
GetColorTableCount Method (space)
NamespacesMonobjc.ApplicationServicesCGColorSpaceGetColorTableCount(IntPtr)

Returns the number of entries in the color table of an indexed color space.

Original signature is 'size_t CGColorSpaceGetColorTableCount( CGColorSpaceRef space );'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSUInteger GetColorTableCount(
	IntPtr space
)
Public Shared Function GetColorTableCount ( _
	space As IntPtr _
) As NSUInteger
public:
static NSUInteger GetColorTableCount(
	IntPtr space
)
Parameters
space (IntPtr)
MISSING
Return Value
The number of entries in the color table of the space parameter if the color space is an indexed color space; otherwise, returns 0.
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)