The following constants specify values used by the methods setVerticalAlignment: and verticalAlignment.
Available in Mac OS X v10.4 and later.
| C# | Visual Basic | Visual C++ |
public enum NSTextBlockVerticalAlignment
Public Enumeration NSTextBlockVerticalAlignment
public enum class NSTextBlockVerticalAlignment
| Member | Description |
|---|---|
| NSTextBlockTopAlignment | Aligns adjacent blocks at their top. Available in Mac OS X v10.4 and later. |
| NSTextBlockMiddleAlignment | Aligns adjacent blocks at their middle. Available in Mac OS X v10.4 and later. |
| NSTextBlockBottomAlignment | Aligns adjacent blocks at their bottom. Available in Mac OS X v10.4 and later. |
| NSTextBlockBaselineAlignment | Aligns adjacent blocks at the baseline of the first line of text in the block. Available in Mac OS X v10.4 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)