搜索

查找表单对象范围搜索结果集合Apirange对象

参数:

名称 类型 描述性
sText语言 字符串

搜索字符串

s匹配Case 布林安

大小写敏感或非敏感

返回时间 :

类型
数组

实例

拷贝代码
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)!oTable.GetCell(0, 0).GetContent().GetElement(0).AddText("Cell 1.手机排第一行oDocument.Push(oTable)!varaSearch=otable.GetCell(0,0)SearchaSearch[1].SetBold(true)!builder.SaveFile("docx", "Search.docx")!builder.CloseFile();

结果文档