Modifica

Condividi tramite


ListLevels Interface

Definition

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.

public interface class ListLevels : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0002098E-0000-0000-C000-000000000046")]
public interface ListLevels : System.Collections.IEnumerable
type ListLevels = interface
    interface IEnumerable
Public Interface ListLevels
Implements IEnumerable
Attributes
Implements

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(ListTemplate, Object, Object) 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.

Properties

Application

Returns a Application object that represents the Microsoft Word application.

Count

Returns the number of items in the specified collection.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Item[Int32]

Returns an individual object in a collection.

Parent

Returns an object that represents the parent object of the specified object.

Methods

GetEnumerator()

Applies to