These constants specify text alignment.
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public enum NSTextAlignment
Public Enumeration NSTextAlignment
public enum class NSTextAlignment
Members
Member | Description |
---|---|
NSLeftTextAlignment | Text is visually left aligned. Available in Mac OS X v10.0 and later. |
NSRightTextAlignment | Text is visually right aligned. Available in Mac OS X v10.0 and later. |
NSCenterTextAlignment | Text is visually center aligned. Available in Mac OS X v10.0 and later. |
NSJustifiedTextAlignment | Text is justified. Available in Mac OS X v10.0 and later. |
NSNaturalTextAlignment | Use the natural alignment of the text’s script. Available in Mac OS X v10.0 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)