SpreadsheetGear.Shapes Namespace > IShapes Interface : AddFormControl Method |
'Declaration
Function AddFormControl( _ ByVal type As FormControlType, _ ByVal left As System.Double, _ ByVal top As System.Double, _ ByVal width As System.Double, _ ByVal height As System.Double _ ) As IShape
'Usage
Dim instance As IShapes Dim type As FormControlType Dim left As System.Double Dim top As System.Double Dim width As System.Double Dim height As System.Double Dim value As IShape value = instance.AddFormControl(type, left, top, width, height)
IShape AddFormControl( FormControlType type, System.double left, System.double top, System.double width, System.double height )
function AddFormControl( type: FormControlType; left: System.Double; top: System.Double; width: System.Double; height: System.Double ): IShape;
function AddFormControl( type : FormControlType, left : System.double, top : System.double, width : System.double, height : System.double ) : IShape;
Use SpreadsheetGear.IWorksheetWindowInfo.RowToPoints and SpreadsheetGear.IWorksheetWindowInfo.ColumnToPoints to convert row and column positions to points.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2