Поделиться через


Font.Kerning Property (Word)

Returns or sets the minimum font size for which Microsoft Word will adjust kerning automatically. Read/write Single.

Syntax

expression .Kerning

expression An expression that returns a Font object.

Example

This example sets the minimum font size for automatic kerning to 12 points or larger in the active document.

ActiveDocument.Content.Font.Kerning = 12

This example displays the minimum font size for which Word will automatically adjust kerning in the selected text.

If Selection.Type = wdSelectionNormal Then 
 MsgBox Selection.Font.Kerning 
Else 
 MsgBox "You need to select some text." 
End If

See Also

Concepts

Font Object

Font Object Members