Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ListLevel.NumberFormat property

Returns or sets the number format for the specified list level.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
string NumberFormat { get; set; }

Property value

Type: System.String

The percent sign (%) followed by any number from 1 through 9 represents the number style from the respective list level. For example, if you wanted the format for the first level to be "Article I," "Article II," and so on, the string for the NumberFormat property would be "Article %1" and the NumberStyle property would be set to wdListNumberStyleUpperCaseRoman.

If the NumberStyle property is set to wdListNumberStyleBullet, the string for the NumberFormat property can only contain one character.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.