[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Drawing.IShapes.AddFormControlToCell

AddFormControlToCell Method

AddFormControlToCell(FormControl, int, int, double, double)

Creates a form control.

Declaration
IShape AddFormControlToCell(FormControl type, int row, int column, double width, double height)
Function AddFormControlToCell(type As FormControl, row As Integer, column As Integer, width As Double, height As Double) As IShape
Parameters
Type Name Description
FormControl type

The control type.

int row

The row index of the upper-left corner of the shape's bounding box.

int column

The column index of the upper-left corner of the shape's bounding box.

double width

The initial width, in pixels, of the shape.

double height

The initial height, in pixels, of the shape.

Returns
Type Description
IShape

The IShape object represents the new control.