NSImageAlignment Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies how an image is aligned within its frame when it is not scaled to fill the entire frame.
[ObjCRuntime.Native]
public enum NSImageAlignment
[<ObjCRuntime.Native>]
type NSImageAlignment =
- Inheritance
-
NSImageAlignment
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| Center | 0 | Centers the image within its frame. |
| Top | 1 | Aligns the image with the top edge of its frame, centered horizontally. |
| TopLeft | 2 | Aligns the image with the top-left corner of its frame. |
| TopRight | 3 | Aligns the image with the top-right corner of its frame. |
| Left | 4 | Aligns the image with the left edge of its frame, centered vertically. |
| Bottom | 5 | Aligns the image with the bottom edge of its frame, centered horizontally. |
| BottomLeft | 6 | Aligns the image with the bottom-left corner of its frame. |
| BottomRight | 7 | Aligns the image with the bottom-right corner of its frame. |
| Right | 8 | Aligns the image with the right edge of its frame, centered vertically. |