---
title: tighteningFactorForTruncation
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsparagraphstyle/tighteningfactorfortruncation
---

# tighteningFactorForTruncation

The threshold for using tightening as an alternative to truncation.

## Declaration

```swift
var tighteningFactorForTruncation: Float { get }
```

## Discussion

Discussion When the line break mode specifies truncation, the text system attempts to tighten character spacing as an alternative to truncation. Provided that the ratio of the text width to the line fragment width doesn’t exceed 1.0 + the system sets the tightening factor to this property. Otherwise, the system truncates the text at a location determined by the line break mode.

## See Also

### Getting line-break information

- [lineBreakMode](appkit/nsparagraphstyle/linebreakmode.md)
- [NSLineBreakMode](appkit/nslinebreakmode.md)
- [lineBreakStrategy](appkit/nsparagraphstyle/linebreakstrategy-swift.property.md)
- [NSParagraphStyle.LineBreakStrategy](appkit/nsparagraphstyle/linebreakstrategy-swift.struct.md)
- [hyphenationFactor](appkit/nsparagraphstyle/hyphenationfactor.md)
- [usesDefaultHyphenation](appkit/nsparagraphstyle/usesdefaulthyphenation.md)
- [allowsDefaultTighteningForTruncation](appkit/nsparagraphstyle/allowsdefaulttighteningfortruncation.md)
