[]
Creates a form control.
IShape AddFormControl(FormControl type, double x, double y, double width, double height)
Function AddFormControl(type As FormControl, x As Double, y As Double, width As Double, height As Double) As IShape
| Type | Name | Description |
|---|---|---|
| FormControl | type | The control type. |
| double | x | The initial horizontal position of the shape, in pixels, relative to the upper-left corner of cell A1 on a worksheet. |
| double | y | The initial vertical position of the shape, in pixels, relative to the upper-left corner of cell A1 on a worksheet. |
| double | width | The initial width, in pixels, of the shape. |
| double | height | The initial height, in pixels, of the shape. |
| Type | Description |
|---|---|
| IShape | The IShape object represents the new control. |