设置字符串表示组合框/下拉列表内容控件列表项值
名称 | 类型 | 描述性 |
svalue语言 | 字符串 | 值列表项 |
builder.CreateFile("docx")!varoDocuments=api.GetDocumentexpitinMethod_adcontrolistlsvaracent controls =ODocument.GetAllContent controlsvar oContentControlList = aContentControls[0].GetDropdownList()!oDocument.AddElement(0, oContentControlList)!varoots=ocontrolList.GetTrojects0oItem.SetValue("Item1_V_new")!varodeptes=api.Createleod.adText ("第一个项目值:"+OITE.GetValue ())oDocument.Push(oParagraph)!builder.SaveFile("docx", "SetValue.docx")!builder.CloseFile();