This topic has not yet been rated - Rate this topic

Style.ListTemplate Property 

Returns a ListTemplate object that represents the list formatting for the specified Style object.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

'Usage
Dim style1 As Style

Dim returnValue As ListTemplate
returnValue = style1.ListTemplate

ListTemplate ListTemplate {get;}
public ListTemplate get_ListTemplate();
function get ListTemplate() : ListTemplate;

A list template includes all the formatting that defines a particular list. Each of the seven formats (excluding None) found on each of the tabs in the Bullets and Numbering dialog box (Format menu) corresponds to a list template. Documents and templates can also contain collections of list templates.

If the first paragraph in the range for the ListFormat object is not formatted as a list, the ListTemplate property returns Nothing.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

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

Target Platforms

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ