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)

Usage

Public Class istFormatImplementation
    Implements ListFormat
End Class
Dim istFormatImplementation1 As New istFormatImplementation()

Syntax

Public Interface ListFormat
public interface ListFormat
public interface class ListFormat
public interface ListFormat
public interface ListFormat

Remarks

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 with 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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Word Namespace

Other Resources

ListFormat Members