MonobjcMonobjc Documented Class Library
InitWithWindowRect Method (aWindow, aRect)
NamespacesMonobjc.AppKitNSCachedImageRepInitWithWindowRect(NSWindow, NSRect)

Returns an NSCachedImageRep object initialized for drawing in the specified window. (Deprecated in Mac OS X v10.6.)

Original signature is '- (id)initWithWindow:(NSWindow *)aWindow rect:(NSRect)aRect'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
[ObsoleteAttribute("Deprecated in Mac OS X v10.6.")]
public virtual Id InitWithWindowRect(
	NSWindow aWindow,
	NSRect aRect
<ObsoleteAttribute("Deprecated in Mac OS X v10.6.")> _
Public Overridable Function InitWithWindowRect ( _
	aWindow As NSWindow, _
	aRect As NSRect _
) As Id
[ObsoleteAttribute(L"Deprecated in Mac OS X v10.6.")]
virtual Id^ InitWithWindowRect(
	NSWindow^ aWindow, 
	NSRect aRect
aWindow (NSWindow)
The window (typically offscreen) in which the image is to be rendered. The window is retained by the receiver.
aRect (NSRect)
The position and size of the image in the specified window. This rectangle should be specified in the base coordinate system of the window.
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSCachedImageRep.InitWithWindowRect(Monobjc.AppKit.NSWindow,Monobjc.Foundation.NSRect)"]

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)