These constants allow you to specify the location of the image in the frame and are used by imageAlignment and setImageAlignment:.
Available in Mac OS X v10.0 and later.
C# | Visual Basic | Visual C++ |
public enum NSImageAlignment
Public Enumeration NSImageAlignment
public enum class NSImageAlignment
Member | Description |
---|---|
NSImageAlignCenter | Center the image in the cell. Available in Mac OS X v10.0 and later. |
NSImageAlignTop | Position the image along the top edge of the cell. Available in Mac OS X v10.0 and later. |
NSImageAlignTopLeft | Align the image with the top and left edges of the cell. Available in Mac OS X v10.0 and later. |
NSImageAlignTopRight | Align the image with the top and right edges of the cell. Available in Mac OS X v10.0 and later. |
NSImageAlignLeft | Align the image with the left edge of the cell. Available in Mac OS X v10.0 and later. |
NSImageAlignBottom | Align the image with the bottom edge of the cell. Available in Mac OS X v10.0 and later. |
NSImageAlignBottomLeft | Align the image with the bottom and left edges of the cell. Available in Mac OS X v10.0 and later. |
NSImageAlignBottomRight | Align the image with the bottom and right edges of the cell. Available in Mac OS X v10.0 and later. |
NSImageAlignRight | Position the image along the right edge of the cell. Available in Mac OS X v10.0 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)