[]
Adds a new IOptionButton.
Creates an option button control at the specified location and size and returns the created control. Option buttons placed inside the bounds of the same IGroupBox participate in the same selection group; otherwise, they belong to the worksheet's default group.
IOptionButton AddOptionButton(double left, double top, double width, double height)
Function AddOptionButton(left As Double, top As Double, width As Double, height As Double) As IOptionButton
| Type | Name | Description |
|---|---|---|
| double | left | The left position of the option button. |
| double | top | The top position of the option button. |
| double | width | The width of the option button. |
| double | height | The height of the option button. |
| Type | Description |
|---|---|
| IOptionButton | The newly added IOptionButton. |
IOptionButton optionButton = worksheet.Controls.AddOptionButton(39.45, 67.1, 98, 15.6);
optionButton.Text = "North";
optionButton.LinkedCell = worksheet.Range["A1"];