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
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.