Document.SetDefaultTableStyle Method (Object, Boolean)

 

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

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

void SetDefaultTableStyle(
	ref object Style,
	bool SetInTemplate
)

Parameters

Style
Type: System.Object

The name of the style.

SetInTemplate
Type: System.Boolean

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

Return to top
Show: