IShapes.AddFormControl Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function AddFormControl ( _
Type As XlFormControl, _
Left As Integer, _
Top As Integer, _
Width As Integer, _
Height As Integer _
) As Shape
'Usage
Dim instance As IShapes
Dim Type As XlFormControl
Dim Left As Integer
Dim Top As Integer
Dim Width As Integer
Dim Height As Integer
Dim returnValue As Shape
returnValue = instance.AddFormControl(Type, _
Left, Top, Width, Height)
Shape AddFormControl(
XlFormControl Type,
int Left,
int Top,
int Width,
int Height
)
Parameters
- Type
Type: Microsoft.Office.Interop.Excel.XlFormControl
- Left
Type: System.Int32
- Top
Type: System.Int32
- Width
Type: System.Int32
- Height
Type: System.Int32
Return Value
Type: Microsoft.Office.Interop.Excel.Shape