GetRadioGroup

GetRadioGroup ()

返回收音机组键,如果当前复选框为收音机按钮

参数:

这种方法没有任何参数

返回时间 :

类型
字符串

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentVarbeckBoxForm = Api.CreateCheckBoxFormoCheckBoxForm.SetRadioGroup("Marital status")!varolements=ODocument.GetEplement0oParagraph.AddElement(oCheckBoxForm)!oParagraph.AddText(" Married")!oParagraph.AddLineBreak()!oclookBoxForm = Api.CreateCheckBoxFormoCheckBoxForm.SetRadioGroup("Marital status")!oParagraph.AddElement(oCheckBoxForm)!adTextvar sradioGroup =oCheckBoxForm.GetRadioGroupodeptes = Api.Createlementsodis.adText (dio组名此文档中的按键:+sdioGroup)oDocument.Push(oParagraph)!builder.SaveFile("docx", "GetRadioGroup.docx")!builder.CloseFile();

结果文档