Share via


ListFormat.ApplyListTemplateWithLevel Method

Applies a set of list-formatting characteristics, optionally for a specified level.

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

Syntax

'Declaration
Sub ApplyListTemplateWithLevel ( _
    ListTemplate As ListTemplate, _
    ByRef ContinuePreviousList As Object, _
    ByRef ApplyTo As Object, _
    ByRef DefaultListBehavior As Object, _
    ByRef ApplyLevel As Object _
)
'Usage
Dim instance As ListFormat
Dim ListTemplate As ListTemplate
Dim ContinuePreviousList As Object
Dim ApplyTo As Object
Dim DefaultListBehavior As Object
Dim ApplyLevel As Object

instance.ApplyListTemplateWithLevel(ListTemplate, _
    ContinuePreviousList, ApplyTo, DefaultListBehavior, _
    ApplyLevel)
void ApplyListTemplateWithLevel(
    ListTemplate ListTemplate,
    ref Object ContinuePreviousList,
    ref Object ApplyTo,
    ref Object DefaultListBehavior,
    ref Object ApplyLevel
)

Parameters

  • ContinuePreviousList
    Type: System.Object%
    True to continue the numbering from the previous list; False to start a new list.
  • DefaultListBehavior
    Type: System.Object%
    Sets a value that specifies whether Microsoft Word uses new Web-oriented formatting for better list display. Can be either of the following WdDefaultListBehavior 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.
  • ApplyLevel
    Type: System.Object%
    The level to which the list template is to be applied.

See Also

Reference

ListFormat Interface

ListFormat Members

Microsoft.Office.Interop.Word Namespace