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.

C# | Visual Basic | Visual C++ |
public static NSGraphicsContext GraphicsContextWithBitmapImageRep( NSBitmapImageRep bitmapRep )
Public Shared Function GraphicsContextWithBitmapImageRep ( _ bitmapRep As NSBitmapImageRep _ ) As NSGraphicsContext
public: static NSGraphicsContext^ GraphicsContextWithBitmapImageRep( NSBitmapImageRep^ bitmapRep )

- bitmapRep (NSBitmapImageRep)
- The NSBitmapImageRep object to use as the destination.

The created NSGraphicsContext object or nil if the object could not be created.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)