MonobjcMonobjc Documented Class Library
DrawImageWithFrameInView Method (image, frame, controlView)
NamespacesMonobjc.AppKitNSButtonCellDrawImageWithFrameInView(NSImage, NSRect, NSView)

Draws the image associated with the button’s current state.

Original signature is '- (void)drawImage:(NSImage *)image withFrame:(NSRect)frame inView:(NSView *)controlView'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DrawImageWithFrameInView(
	NSImage image,
	NSRect frame,
	NSView controlView
)
Public Overridable Sub DrawImageWithFrameInView ( _
	image As NSImage, _
	frame As NSRect, _
	controlView As NSView _
)
public:
virtual void DrawImageWithFrameInView(
	NSImage^ image, 
	NSRect frame, 
	NSView^ controlView
)
Parameters
image (NSImage)
The image associated with the button's current state.
frame (NSRect)
The bounding rectangle of the button.
controlView (NSView)
The control being drawn.
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)