Freigeben über


Document.SetDefaultTableStyle Method

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

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
Sub SetDefaultTableStyle ( _
    ByRef Style As Object, _
    SetInTemplate As Boolean _
)
void SetDefaultTableStyle(
    ref Object Style,
    bool SetInTemplate
)

Parameters

  • SetInTemplate
    Type: System.Boolean

    true to save the table style in the template attached to the document.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace