MonobjcMonobjc Documented Class Library
ImageForSegment Method (segment)
NamespacesMonobjc.AppKitNSSegmentedCellImageForSegment(NSInteger)

Returns the image associated with the specified segment.

Original signature is '- (NSImage *)imageForSegment:(NSInteger)segment'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSImage ImageForSegment(
	NSInteger segment
)
Public Overridable Function ImageForSegment ( _
	segment As NSInteger _
) As NSImage
public:
virtual NSImage^ ImageForSegment(
	NSInteger segment
)
Parameters
segment (NSInteger)
The index of the segment whose image you want to get. This method raises an NSRangeException if the index is out of bounds.
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSSegmentedCell.ImageForSegment(Monobjc.Foundation.NSInteger)"]

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)