ListFormat.ApplyOutlineNumberDefault MethodÂ
Adds the default outline-numbering scheme to the paragraphs in the range for the specified ListFormat object. If the paragraphs are already formatted as an outline-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.ApplyOutlineNumberDefault(DefaultListBehavior)
Syntax
Sub ApplyOutlineNumberDefault( _
<InAttribute()> Optional ByRef DefaultListBehavior As Object _
)
void ApplyOutlineNumberDefault(
[In, Optional] ref object DefaultListBehavior
);
public: Void ApplyOutlineNumberDefault(
&Object^ DefaultListBehavior
);
public void ApplyOutlineNumberDefault(
/*in*/System.Object DefaultListBehavior
);
function ApplyOutlineNumberDefault(
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.
Remarks
This method doesn't remove built-in heading styles that have been applied to paragraphs.
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