NSLayoutManager.HyphenationFactor 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
断字阈值。
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,因为断字速度较慢且会消耗内存。