Compartilhar via


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

Return Value

Type: Microsoft.Office.Interop.Excel.Shape

See Also

Reference

IShapes Interface

IShapes Members

Microsoft.Office.Interop.Excel Namespace