返回当前内线文本内容控件的一个元素
名称 | 类型 | 描述性 |
NPOs | 数组 | 位置中必须定位内容 |
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0varoinlvlStoParagraph.AddInlineLvlSdt(oInlineLvlSdt)!输入nPos=0NPOS < 10++nPos/varcurRun=api.CreateRuncurRun.adText)oInlineLvlSdt.AddElement(curRun)!Var changeRun=OinlinelvlSt.GetElement(4)changeRun.SetBold(true)!oParagraph.AddLineBreak()!oParagraph.AddLineBreak()!oParagraph.AddLineBreak()!oddText (“我们添加了10文本运行到上线文本内容控制并改第五批, 与众不同builder.SaveFile("docx", "GetElement.docx")!builder.CloseFile();