ListFormat.ApplyOutlineNumberDefault(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public void ApplyOutlineNumberDefault (ref object DefaultListBehavior);
abstract member ApplyOutlineNumberDefault : obj -> unit
Public Sub ApplyOutlineNumberDefault (Optional ByRef DefaultListBehavior As Object)
Parameters
- DefaultListBehavior
- 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.
Remarks
This method doesn't remove built-in heading styles that have been applied to paragraphs.