List.ApplyListTemplate(ListTemplate, Object, Object) Method

Definition

Applies a set of list-formatting characteristics to the specified list.

public void ApplyListTemplate (Microsoft.Office.Interop.Word.ListTemplate ListTemplate, ref object ContinuePreviousList, ref object DefaultListBehavior);
abstract member ApplyListTemplate : Microsoft.Office.Interop.Word.ListTemplate * obj * obj -> unit
Public Sub ApplyListTemplate (ListTemplate As ListTemplate, Optional ByRef ContinuePreviousList As Object, Optional ByRef DefaultListBehavior As Object)

Parameters

ListTemplate
ListTemplate

Required ListTemplate object. The list template to be applied.

ContinuePreviousList
Object

Optional Object. True to continue the numbering from the previous list; False to start a new list.

DefaultListBehavior
Object

Optional Object. Sets a value that specifies whether Microsoft Word uses new Web-oriented formatting for better list display. Can be either of the following constants: wdWord8ListBehavior (use formatting compatible with Microsoft Word 97) or wdWord9ListBehavior (use Web-oriented formatting). For compatibility reasons, the default constant is wdWord8ListBehavior, but in new procedures you should use wdWord9ListBehavior to take advantage of improved Web-oriented formatting with respect to indenting and multilevel lists.

Applies to