MonobjcMonobjc Documented Class Library
InitWithCGImage Method (image)
NamespacesMonobjc.QuartzCoreCIImageInitWithCGImage(IntPtr)

Initializes an image object with a Quartz 2D image.

Original signature is '- (id)initWithCGImage:(CGImageRef)image'

Available in 4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithCGImage(
	IntPtr image
)
Public Overridable Function InitWithCGImage ( _
	image As IntPtr _
) As Id
public:
virtual Id^ InitWithCGImage(
	IntPtr image
)
Parameters
image (IntPtr)
A Quartz 2D image (CGImageRef) object. For more information, see Quartz 2D Programming Guide and CGImage Reference.
Return Value
The initialized image object or nil if the object could not be initialized.
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)