返回段元素使用指定位置
名称 | 类型 | 描述性 |
NPOs | 数组 | 位置中必须定位内容 |
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarodeptes=api.CreateleoParagraph.RemoveAllElements()!var ORun=api.CreateRunORun.AddText切勿忘记空格尾部与第二个空格分离)oParagraph.AddElement(oRun)!ORun=Api.CreateRunORun.AddText ("这是第二运行文本后置果实端端需要空间)oParagraph.AddElement(oRun)!ORun=Api.CreateRunORun.AddText ("这是第三运行文本结束段数oParagraph.AddElement(oRun)!ORUNDEDGEPLEoRun.SetBold(true)!oDocument.Push(oParagraph)!builder.SaveFile("docx", "GetElement.docx")!builder.CloseFile();