MonobjcMonobjc Documented Class Library
CreateSnapshotImageOfType Method (type)
NamespacesMonobjc.QuartzQCRendererCreateSnapshotImageOfType(NSString)

Returns the current image in the OpenGL context associated with the renderer, as an image object of the provided image type.

Original signature is '- (id) createSnapshotImageOfType:(NSString*)type'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id CreateSnapshotImageOfType(
	NSString type
)
Public Overridable Function CreateSnapshotImageOfType ( _
	type As NSString _
) As Id
public:
virtual Id^ CreateSnapshotImageOfType(
	NSString^ type
)
Parameters
type (NSString)
A string that specifies any of the following image types: NSBitmapImageRep, NSImage, CIImage, CGImage, CVOpenGLBuffer, CVPixelBuffer.
Return Value
The snapshot image in the provided image type. You are responsible for releasing this object when you no longer need it.
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.Quartz (Module: Monobjc.Quartz)