MonobjcMonobjc Documented Class Library
SetImageScalingForSegment Method (scaling, segment)
NamespacesMonobjc.AppKitNSSegmentedControlSetImageScalingForSegment(NSImageScaling, NSInteger)

Sets the scaling mode used to display the specified segment’s image.

Original signature is '- (void)setImageScaling:(NSImageScaling)scaling forSegment:(NSInteger)segment'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetImageScalingForSegment(
	NSImageScaling scaling,
	NSInteger segment
)
Public Overridable Sub SetImageScalingForSegment ( _
	scaling As NSImageScaling, _
	segment As NSInteger _
)
public:
virtual void SetImageScalingForSegment(
	NSImageScaling scaling, 
	NSInteger segment
)
Parameters
scaling (NSImageScaling)
One of the image scaling constants. For a list of possible values, see NSImageScaling.
segment (NSInteger)
The index of the segment whose enabled state you want to get. This method raises an NSRangeException if the index is out of bounds.
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)