MonobjcMonobjc Documented Class Library
NSBitmapImageRep Constructor (rect)
NamespacesMonobjc.AppKitNSBitmapImageRepNSBitmapImageRep(NSRect)

Initializes the receiver, a newly allocated NSBitmapImageRep object, with bitmap data read from a rendered image.

Original signature is '- (id)initWithFocusedViewRect:(NSRect)rect'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSBitmapImageRep(
	NSRect rect
)
Public Sub New ( _
	rect As NSRect _
)
public:
NSBitmapImageRep(
	NSRect rect
)
Parameters
rect (NSRect)
A rectangle that specifies an area of the current window in the current coordinate system.
Return Value
Returns the initialized object or nil If for any reason the new object can’t 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)