Font.NumberSpacing Property (Word)

Returns or sets the number spacing setting for a font. Read/write WdNumberSpacing.

Version Information

Version Added: Word 2010

Syntax

expression .NumberSpacing

expression An expression that returns a Font object.

Remarks

OpenType fonts support a proportional and tabular figure feature to control number spacing. Proportional number spacing handles each number as having a different width. For example, "1" is displayed as narrower than "5". Tabular number spacing handles numbers as equal in width so that they align vertically, which increases the readability, especially for financial information.

Example

The following code example sets the number spacing to proportional for the font in the active document.

ActiveDocument.Range.Font.NumberSpacing = wdNumberSpacingProportional

See Also

Concepts

Font Object Members

Font Object