Partager via


DocumentBase.SetDefaultTableStyle Method

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

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

Syntax

'Declaration
Public Sub SetDefaultTableStyle ( _
    ByRef style As Object, _
    setInTemplate As Boolean _
)
public 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

DocumentBase Class

Microsoft.Office.Tools.Word Namespace