Publisher) (Font.AutomaticPairKerningThreshold 属性

返回或设置表示点大小的 Variant 值,超过该值,指定文本区域中字符的字距调整会自动。 读/写。

语法

表达式。AutomaticPairKerningThreshold

表达式 表示 Font 对象的变量。

返回值

Variant

备注

有效范围是 0.0 磅到 999.5 磅。 如果文字范围中的字符值是不确定的,则返回 -2。 将该属性设为 0.0 会禁止在范围中自动调整字符对间距。

示例

本示例将磅值的临界值设为 12 磅。 第二篇文章中的磅值在临界值以上的所有文字会自动调整字距。

Sub Threshold() 
 
 Application.ActiveDocument.Stories(2).TextRange _ 
 .Font.AutomaticPairKerningThreshold = 12 
 
End Sub

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。