SetTableDescription

设置表描述++{boolean}

设置表描述

参数:

名称 类型 描述性
sdescr 字符串

表描述拟设置

返回时间 :

类型
布林安

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvar表Style=ODocument.CreateStyleoTableStyle.SetBasedOn(oDocument.GetStyle("Bordered"))!var表Pr =o表Style.get表Prvaro表=api.Criate表(3,3)oTable.SetWidth("percent", 100)!oTablePr.SetTableDescription("Empty table")!oTable.SetStyle(oTableStyle)!varolements=ODocument.GetEplement0odtext (表描述:+otablePr.Get表描述oDocument.Push(oTable)!builder.SaveFile("docx", "SetTableDescription.docx")!builder.CloseFile();

结果文档