Document.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 (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
- 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.