GetListVues

GetListvalues()++++++++数组 }

从当前组合框返回表值

参数:

这种方法没有任何参数

返回时间 :

类型
数组

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentVar OCombOBoxForm = Api.CreateCombOBoxFormvarolements=ODocument.GetEplement0oParagraph.AddElement(oComboBoxForm)!oComboBoxForm.SetListValues(["Latvia", "USA", "UK"])!varavalues =oComboBoxForm.GetListvaluesodeptes = Api.Createlementsodtext (Combo框列表值:oParagraph.AddLineBreak()!开始i=0listvalues.++/odent.adTextoParagraph.AddLineBreak()!ODocument.Pushbuilder.SaveFile("docx", "GetListValues.docx")!builder.CloseFile();

结果文档