Share via


_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)

Syntax

'Declaration
Sub SetDefaultTableStyle ( _
    ByRef Style As Object, _
    SetInTemplate As Boolean _
)
'Usage
Dim instance As _Document
Dim Style As Object
Dim SetInTemplate As Boolean

instance.SetDefaultTableStyle(Style, _
    SetInTemplate)
void SetDefaultTableStyle(
    ref Object Style,
    bool SetInTemplate
)

Parameters

  • Style
    Type: System.Object%
    Required Object. A string specifying the name of the style.
  • SetInTemplate
    Type: System.Boolean
    Required Boolean. True to save the table style in the template attached to the document.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace