MonobjcMonobjc Documented Class Library
NSLineBreakMode Enumeration
NamespacesMonobjc.AppKitNSLineBreakMode

These constants specify what happens when a line is too long for its container.

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSLineBreakMode
Public Enumeration NSLineBreakMode
public enum class NSLineBreakMode
Members
MemberDescription
NSLineBreakByWordWrapping

Wrapping occurs at word boundaries, unless the word itself doesn’t fit on a single line.

Available in Mac OS X v10.0 and later.


NSLineBreakByCharWrapping

Wrapping occurs before the first character that doesn’t fit.

Available in Mac OS X v10.0 and later.


NSLineBreakByClipping

Lines are simply not drawn past the edge of the text container.

Available in Mac OS X v10.0 and later.


NSLineBreakByTruncatingHead

Each line is displayed so that the end fits in the container and the missing text is indicated by some kind of ellipsis glyph.

Available in Mac OS X v10.0 and later.


NSLineBreakByTruncatingTail

Each line is displayed so that the beginning fits in the container and the missing text is indicated by some kind of ellipsis glyph.

Available in Mac OS X v10.0 and later.


NSLineBreakByTruncatingMiddle

Each line is displayed so that the beginning and end fit in the container and the missing text is indicated by some kind of ellipsis glyph in the middle.

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)