MonobjcMonobjc Documented Class Library
InitWithFocusedViewRect Method (rect)

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 virtual Id InitWithFocusedViewRect(
	NSRect rect
Public Overridable Function InitWithFocusedViewRect ( _
	rect As NSRect _
) As Id
virtual Id^ InitWithFocusedViewRect(
	NSRect rect
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)