These constants define the behavior of NSLayoutManager and NSTypesetter when laying out lines. They are used by setTypesetterBehavior: and typesetterBehavior to control the compatibility level of the typesetter.
Available in Mac OS X v10.2 and later.
C# | Visual Basic | Visual C++ |
public enum NSTypesetterBehavior
Public Enumeration NSTypesetterBehavior
public enum class NSTypesetterBehavior
Member | Description |
---|---|
NSTypesetterLatestBehavior | The most current typesetter behavior in the current system version. For Mac OS X v10.2, this behavior is identical to NSTypesetterBehavior_10_2. If you use this behavior setting, you cannot necessarily rely on line width and height metrics remaining the same across different versions of Mac OS X. Available in Mac OS X v10.2 and later. |
NSTypesetterOriginalBehavior | The original typesetter behavior, as shipped with Mac OS X v10.1 and earlier. Available in Mac OS X v10.2 and later. |
NSTypesetterBehavior_10_2_WithCompatibility | Typesetting same as NSTypesetterBehavior_10_2 but using line widths and height metric calculations that are the same as with NSTypesetterOriginalBehavior. Available in Mac OS X v10.2 and later. |
NSTypesetterBehavior_10_2 | The typesetter behavior introduced in Mac OS X version 10.2. This typesetter behavior provides enhanced line and character spacing accuracy and supports more languages than the original typesetter behavior. Available in Mac OS X v10.2 and later. |
NSTypesetterBehavior_10_3 | The typesetter behavior introduced in Mac OS X version 10.3. Available in Mac OS X v10.3 and later. |
NSTypesetterBehavior_10_4 | The typesetter behavior introduced in Mac OS X version 10.4. 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)