删除

删除

删除当前运行

参数:

这种方法没有任何参数

返回时间 :

方法不返回数据

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0var ORun1=api.CreateRunORun1.AddTextoParagraph.AddElement(oRun1)!Var ORun2=Api.CreateRunORUN2.AddTextoParagraph.AddElement(oRun2)!oRun1.RemoveAllElements()!oParagraph.AddLineBreak()!oclipse.adTextbuilder.SaveFile("docx", "Delete.docx")!builder.CloseFile();

结果文档