[]
Adds a new IGroupBox.
Creates a group box control at the specified location and size on the worksheet. A group box can be used to organize related controls, such as IOptionButton controls.
IGroupBox AddGroupBox(double left, double top, double width, double height)
Function AddGroupBox(left As Double, top As Double, width As Double, height As Double) As IGroupBox
| Type | Name | Description |
|---|---|---|
| double | left | The left coordinate of the group box. |
| double | top | The top coordinate of the group box. |
| double | width | The width of the group box. |
| double | height | The height of the group box. |
| Type | Description |
|---|---|
| IGroupBox | The created IGroupBox. |
IGroupBox groupBox = worksheet.Controls.AddGroupBox(29.75, 48.2, 136.5, 113.99);
groupBox.Text = "Group 1";