MonobjcMonobjc Documented Class Library
CreateDeviceGray Method
NamespacesMonobjc.ApplicationServicesCGColorSpaceCreateDeviceGray()()()()

Creates a device-dependent grayscale color space.

Original signature is 'CGColorSpaceRef CGColorSpaceCreateDeviceGray( void );'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr CreateDeviceGray()
Public Shared Function CreateDeviceGray As IntPtr
public:
static IntPtr CreateDeviceGray()
Return Value
A device-dependent gray color space. 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)