_Font.NumberForm Property

Returns or sets the number form setting for an OpenType font.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)


Property NumberForm As WdNumberForm
Dim instance As _Font
Dim value As WdNumberForm

value = instance.NumberForm

instance.NumberForm = value
WdNumberForm NumberForm { get; set; }

Property Value

Type: Microsoft.Office.Interop.Word.WdNumberForm
A WdNumberForm object.


Read/write WdNumberForm. Numbers in OpenType fonts can be displayed either with consistent heights along the baseline of the text (called "lining"), or with varying heights (called "hanging" or "old style") where numbers are displayed above or below the baseline of the text. Use this property to specify whether numbers are displayed using lining or old-style.

Setting this property has the same effect as selecting an item in the dropdown box next to Number forms: (OpenType features group, Advanced tab in the Font dialog box in Word 2010).

See Also


_Font Interface

_Font Members

Microsoft.Office.Interop.Word Namespace