MonobjcMonobjc Documented Class Library
CacheDisplayInRectToBitmapImageRep Method (rect, bitmapImageRep)
NamespacesMonobjc.AppKitNSViewCacheDisplayInRectToBitmapImageRep(NSRect, NSBitmapImageRep)

Draws the specified area of the receiver, and its descendants, into a provided bitmap-representation object.

Original signature is '- (void)cacheDisplayInRect:(NSRect)rect toBitmapImageRep:(NSBitmapImageRep *)bitmapImageRep'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void CacheDisplayInRectToBitmapImageRep(
	NSRect rect,
	NSBitmapImageRep bitmapImageRep
)
Public Overridable Sub CacheDisplayInRectToBitmapImageRep ( _
	rect As NSRect, _
	bitmapImageRep As NSBitmapImageRep _
)
public:
virtual void CacheDisplayInRectToBitmapImageRep(
	NSRect rect, 
	NSBitmapImageRep^ bitmapImageRep
)
Parameters
rect (NSRect)
A rectangle defining the region to be drawn into bimapImageRep.
bitmapImageRep (NSBitmapImageRep)
An NSBitmapImageRep object. For pixel-format compatibility, bitmapImageRep should have been obtained from bitmapImageRepForCachingDisplayInRect:.
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)