Share via


Rectangles.Add Method

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Function Add ( _
    Left As Double, _
    Top As Double, _
    Width As Double, _
    Height As Double _
) As Rectangle
'Usage
Dim instance As Rectangles
Dim Left As Double
Dim Top As Double
Dim Width As Double
Dim Height As Double
Dim returnValue As Rectangle

returnValue = instance.Add(Left, Top, Width, _
    Height)
Rectangle Add(
    double Left,
    double Top,
    double Width,
    double Height
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Excel.Rectangle

See Also

Reference

Rectangles Interface

Rectangles Members

Microsoft.Office.Interop.Excel Namespace