共用方式為


NSLayoutManager.HyphenationFactor 屬性

定義

斷字臨界值。

public virtual nfloat HyphenationFactor { [Foundation.Export("hyphenationFactor")] get; [Foundation.Export("setHyphenationFactor:")] set; }
member this.HyphenationFactor : nfloat with get, set

屬性值

範圍 0 到 1 中的值。 0 表示斷字已關閉,1.0 會導致一律嘗試連字。

屬性

備註

應用程式開發人員應該偏好將此值設定為 0.0,因為斷字速度緩慢且耗用記憶體。

適用於