清除

清除()++{bulean}

清除表内容

参数:

这种方法没有任何参数

返回时间 :

类型
布林安

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvar表Style=ODocument.CreateStyleoTableStyle.SetBasedOn(oDocument.GetStyle("Bordered"))!varo表=api.Criate表(3,3)oTable.SetWidth("percent", 100)!oTable.SetStyle(oTableStyle)!getCell/0/0/GetContent/0/oDocument.Push(oTable)!table.Clearvarodeptes=api.CreateleadText (表内容清除oDocument.Push(oParagraph)!builder.SaveFile("docx", "Clear.docx")!builder.CloseFile();

结果文档