Font.AutomaticPairKerningThreshold property (Publisher)

Returns or sets a Variant value that represents the point size above which kerning is automatically adjusted for characters in the specified text range. Read/write.

Syntax

expression.AutomaticPairKerningThreshold

expression A variable that represents a Font object.

Return value

Variant

Remarks

Valid range is 0.0 points to 999.5 points. Returns -2 if the value for characters in the text range is indeterminate. Setting this property to 0.0 disables automatic pair kerning on the range.

Example

This example sets the point size threshold to 12 points. All text in the second story above the threshold will implement auto kerning.

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.