Returns the scaling mode used to display the specified segment’s image.
Original signature is '- (NSImageScaling)imageScalingForSegment:(NSInteger)segment'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSImageScaling ImageScalingForSegment( NSInteger segment )
Public Overridable Function ImageScalingForSegment ( _ segment As NSInteger _ ) As NSImageScaling
public: virtual NSImageScaling ImageScalingForSegment( NSInteger segment )
Parameters
- 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.
Return Value
One of the image scaling constants. For a list of possible values, see NSImageScaling. The default value is NSImageScaleProportionallyDown.
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)