设置表描述
名称 | 类型 | 描述性 |
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();