Share via


ListFormat.ApplyNumberDefault Method

Adds the default numbering scheme to the paragraphs in the range for the specified ListFormat object. If the paragraphs are already formatted as a numbered list, this method removes the numbers and formatting.

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

Syntax

'Declaration
Sub ApplyNumberDefault ( _
    ByRef DefaultListBehavior As Object _
)
'Usage
Dim instance As ListFormat
Dim DefaultListBehavior As Object

instance.ApplyNumberDefault(DefaultListBehavior)
void ApplyNumberDefault(
    ref Object DefaultListBehavior
)

Parameters

  • DefaultListBehavior
    Type: System.Object%
    Optional Object. Sets a value that specifies whether Microsoft Word uses new Web-oriented formatting for better list display. Can be either of the following constants: wdWord8ListBehavior (use formatting compatible with Microsoft Word 97) or wdWord9ListBehavior (use Web-oriented formatting). For compatibility reasons, the default constant is wdWord8ListBehavior, but in new procedures you should use wdWord9ListBehavior to take advantage of improved Web-oriented formatting with respect to indenting and multilevel lists.

See Also

Reference

ListFormat Interface

ListFormat Members

Microsoft.Office.Interop.Word Namespace