_Document.SetDefaultTableStyle(Object, Boolean) 方法

定义

指定用于文档中新建表的表样式。Specifies the table style to use for newly created tables in a document.

public:
 void SetDefaultTableStyle(System::Object ^ % Style, bool SetInTemplate);
public void SetDefaultTableStyle (ref object Style, bool SetInTemplate);
abstract member SetDefaultTableStyle : obj * bool -> unit
Public Sub SetDefaultTableStyle (ByRef Style As Object, SetInTemplate As Boolean)

参数

Style
Object

必需的对象Required Object. 指定样式名称的字符串。A string specifying the name of the style.

SetInTemplate
Boolean

必需的布尔值Required Boolean. 要附加到文档的模板中保存的表样式。True to save the table style in the template attached to the document.

适用于