Sets the image scaling mode for the specified segment.
Original signature is '- (void)setImageScaling:(NSImageScaling)scaling forSegment:(NSInteger)segment'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual 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)
- The scaling mode to assign to the specified segment. For the possible values see Segmented Control Visual Styles.
- segment (NSInteger)
- The index of the segment whose image scaling mode you want to set. 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)