MonobjcMonobjc Documented Class Library
GraphicsContextWithBitmapImageRep Method (bitmapRep)
NamespacesMonobjc.AppKitNSGraphicsContextGraphicsContextWithBitmapImageRep(NSBitmapImageRep)

Instantiates and returns a new graphics context using the supplied NSBitmapImageRep object as the context destination.

Original signature is '+ (NSGraphicsContext *)graphicsContextWithBitmapImageRep:(NSBitmapImageRep *)bitmapRep'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSGraphicsContext GraphicsContextWithBitmapImageRep(
	NSBitmapImageRep bitmapRep
)
Public Shared Function GraphicsContextWithBitmapImageRep ( _
	bitmapRep As NSBitmapImageRep _
) As NSGraphicsContext
public:
static NSGraphicsContext^ GraphicsContextWithBitmapImageRep(
	NSBitmapImageRep^ bitmapRep
)
Parameters
bitmapRep (NSBitmapImageRep)
The NSBitmapImageRep object to use as the destination.
Return Value
The created NSGraphicsContext object or nil if the object could not be created.
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)