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
Style
Type: System.Object%The name of the style.
SetInTemplate
Type: System.Booleantrue 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.