ListLevels Interface
A collection of ListLevel objects that represents all the list levels of a list template, either the only level for a bulleted or numbered list or one of the nine levels of an outline numbered list.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
<GuidAttribute("0002098E-0000-0000-C000-000000000046")> _
Public Interface ListLevels _
Inherits IEnumerable
'Usage
Dim instance As ListLevels
[GuidAttribute("0002098E-0000-0000-C000-000000000046")]
public interface ListLevels : IEnumerable
Remarks
Use the ListLevels property to return the ListLevels collection.
Use ListLevels(index), where index is a number from 1 through 9, to return a single ListLevel object.
Note
You cannot add new levels to a list template.
To apply a list level, first identify the range or list, and then use the ApplyListTemplate method. Each tab at the beginning of the paragraph is translated into a list level. For example, a paragraph that begins with three tabs will become a level-three list paragraph after the ApplyListTemplate method is used.