Diese Dokumentation wurde archiviert und wird nicht länger gepflegt.

_Document.SetDefaultTableStyle Method

Specifies the table style to use for newly created tables in a document.

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

'Usage
Dim Style As Object
Dim SetInTemplate As Boolean
Dim _Document1 As _Document
_Document1.SetDefaultTableStyle(Style, SetInTemplate)

'Declaration
Sub SetDefaultTableStyle( _
	<InAttribute()> ByRef Style As Object, _
	<InAttribute()> ByVal SetInTemplate As Boolean _
)
public void SetDefaultTableStyle(
	/*in*/System.Object Style, 
	/*in*/boolean SetInTemplate
);
function SetDefaultTableStyle(
	 Style : Object, 
	 SetInTemplate : Boolean
);

Parameters

Style

Required Object. A string specifying the name of the style.

SetInTemplate

Required Boolean. True to save the table style in the template attached to the document.

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

Anzeigen: