Contents

hyphenationFactor

The hyphenation factor of the document.

Declaration

static let hyphenationFactor: NSAttributedString.DocumentAttributeKey

Discussion

The value of this attribute is an NSNumber object containing a float. A value of 0 indicates that hyphenation is off, and a value of 1 indicates full hyphenation.

The string constant in macOS 10.3 and earlier is @"HyphenationFactor".

See Also

Getting document appearance keys