Share via


NSLayoutManager.HyphenationFactor Property

Definition

The hyphenation threshold.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual float HyphenationFactor { [Foundation.Export("hyphenationFactor")] get; [Foundation.Export("setHyphenationFactor:")] set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("hyphenationFactor")>]
[<set: Foundation.Export("setHyphenationFactor:")>]
member this.HyphenationFactor : single with get, set

Property Value

A value in the range 0 to 1. 0 indicates hyphenation is off, 1.0 causes hyphenation to always be attempted.

Attributes

Remarks

Application developers should prefer to set this value to 0.0, because hyphenation is slow and consumes memory.

Applies to