MonobjcMonobjc Documented Class Library
ImageDidNotDrawInRect Method (sender, aRect)
NamespacesMonobjc.AppKitINSImageDelegateImageDidNotDrawInRect(Id, NSRect)

Sent to the delegate when the image object is unable, for whatever reason, to lock focus on its image or draw in the specified rectangle.

Original signature is '- (NSImage *)imageDidNotDraw:(id)sender inRect:(NSRect)aRect'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
NSImage ImageDidNotDrawInRect(
	Id sender,
	NSRect aRect
)
Function ImageDidNotDrawInRect ( _
	sender As Id, _
	aRect As NSRect _
) As NSImage
NSImage^ ImageDidNotDrawInRect(
	Id^ sender, 
	NSRect aRect
)
Parameters
sender (Id)
The NSImage object that encountered the problem.
aRect (NSRect)
The rectangle that the image object was attempting to draw.
Return Value
An NSImage to draw in place of the one in sender, or nil if the delegate wants to draw the image itself.
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)