MonobjcMonobjc Documented Class Library
SetImage Method (image)

Sets the image to be displayed in the receiver. (Available in Mac OS X v10.0 through Mac OS X v10.5.)

Original signature is '- (void)setImage:(NSImage *)image'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetImage(
	NSImage image
Public Overridable Sub SetImage ( _
	image As NSImage _
virtual void SetImage(
	NSImage^ image
image (NSImage)
The image for the receiver to display. If image is nil, the image currently displayed by the receiver is removed.
Version Information
  • Available in Monobjc Bridge: 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)