Edit

Share via


ListLevel.NumberFormat Property

Definition

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

public:
 property System::String ^ NumberFormat { System::String ^ get(); void set(System::String ^ value); };
public string NumberFormat { get; set; }
member this.NumberFormat : string with get, set
Public Property NumberFormat As String

Property Value

Remarks

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.

Applies to