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)
Usage
Dim DefaultListBehavior As Object
Dim listFormat1 As ListFormat
listFormat1.ApplyNumberDefault(DefaultListBehavior)
Syntax
Sub ApplyNumberDefault( _
<InAttribute()> Optional ByRef DefaultListBehavior As Object _
)
void ApplyNumberDefault(
[In, Optional] ref object DefaultListBehavior
);
public: Void ApplyNumberDefault(
&Object^ DefaultListBehavior
);
public void ApplyNumberDefault(
/*in*/System.Object DefaultListBehavior
);
function ApplyNumberDefault(
DefaultListBehavior : Object
);
Parameters
- DefaultListBehavior
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
ListFormat Interface
Microsoft.Office.Interop.Word Namespace