MonobjcMonobjc Documented Class Library
NSTextAlignment Enumeration
NamespacesMonobjc.AppKitNSTextAlignment

These constants specify text alignment.

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSTextAlignment
Public Enumeration NSTextAlignment
public enum class NSTextAlignment
Members
MemberDescription
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)