MonobjcMonobjc Documented Class Library
NSImageScaling Enumeration
NamespacesMonobjc.AppKitNSImageScaling

These constants specify a cell’s image scaling behavior.

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSImageScaling
Public Enumeration NSImageScaling
public enum class NSImageScaling
Members
MemberDescription
NSImageScaleProportionallyDown

If it is too large for the destination, scale the image down while preserving the aspect ratio.

Available in Mac OS X v10.5 and later.


NSImageScaleAxesIndependently

Scale each dimension to exactly fit destination.

This setting does not preserve the aspect ratio of the image.

Available in Mac OS X v10.5 and later.


NSImageScaleNone

Do not scale the image.

Available in Mac OS X v10.5 and later.


NSImageScaleProportionallyUpOrDown

Scale the image to its maximum possible dimensions while both staying within the destination area and preserving its aspect ratio.

Available in Mac OS X v10.5 and later.


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)