Font.NumberSpacing Property (Word)

Office 2010

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

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
```