Kerning Property

Microsoft Publisher Visual Basic

expression.Kerning

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

When setting this property, numeric values are considered to be in points, and String values may be in any unit supported by Publisher. Return values are of type Single and in points. Negative values bring characters closer together than normal, and positive values spread characters farther apart than normal. The valid range is -600.0 to 600.0 points.

Use the InchesToPoints method to convert inches to points.

Example

This example adjusts the kerning of all text in the first story to 6 point.

Application.ActiveDocument.Stories(1).TextRange.Font.Kerning = 6