ListFormat Interface

Represents the list formatting attributes that can be applied to the paragraphs in a range.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

[GuidAttribute("000209C0-0000-0000-C000-000000000046")]
public interface ListFormat

Use the ListFormat property to return the ListFormat object for a range.

An easy way to apply list formatting is to use the ApplyBulletDefault, ApplyNumberDefault, and ApplyOutlineNumberDefault methods, which correspond, respectively, to the first list format (excluding None) on each tab in the Bullets and Numbering dialog box.

To apply a format other than the default format, use the ApplyListTemplate method, which allows you to specify the list format (list template) you want to apply.

Use the List or ListTemplate property to return the list or list template from the first paragraph in the specified range.

Use the ListFormat property of a Range object to access the list formatting properties and methods available for the specified range.

However, if there's already a list defined in your document, you can access a List object by using the Lists property.

Community Additions

ADD
Show:
© 2014 Microsoft