ApplyBulletDefault Method
ApplyBulletDefaultOld Method
ApplyListTemplate Method
ApplyListTemplateOld Method
ApplyNumberDefault Method
ApplyNumberDefaultOld Method
ApplyOutlineNumberDefault Method
ApplyOutlineNumberDefaultOld Method
CanContinuePreviousList Method
ConvertNumbersToText Method
CountNumberedItems Method
ListIndent Method
ListOutdent Method
RemoveNumbers Method
Erweitern Minimieren
Dieser Artikel wurde noch nicht bewertet - Dieses Thema bewerten.

ListFormat.ApplyListTemplate Method

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

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

'Usage
Dim ListTemplate As ListTemplate
Dim ContinuePreviousList As Object
Dim ApplyTo As Object
Dim DefaultListBehavior As Object
Dim listFormat1 As ListFormat
listFormat1.ApplyListTemplate(ListTemplate, ContinuePreviousList, ApplyTo, DefaultListBehavior)
void ApplyListTemplate(
	[In] ListTemplate ListTemplate, 
	[In, Optional] ref object ContinuePreviousList, 
	[In, Optional] ref object ApplyTo, 
	[In, Optional] ref object DefaultListBehavior
);
public void ApplyListTemplate(
	/*in*/ListTemplate ListTemplate, 
	/*in*/System.Object ContinuePreviousList, 
	/*in*/System.Object ApplyTo, 
	/*in*/System.Object DefaultListBehavior
);
function ApplyListTemplate(
	 ListTemplate : ListTemplate, 
	 ContinuePreviousList : Object, 
	 ApplyTo : Object, 
	 DefaultListBehavior : Object
);

Parameters

ListTemplate

Required ListTemplate object. The list template to be applied.

ContinuePreviousList

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

ApplyTo

Optional Object. The portion of the list that the list template is to be applied to. Can be one of the following WdListApplyTo constants: wdListApplyToSelection, wdListApplyToWholeList, or wdListApplyToThisPointForward.

DefaultListBehavior

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.

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

Fanden Sie dies hilfreich?
(1500 verbleibende Zeichen)
© 2013 Microsoft. Alle Rechte vorbehalten.