Share via


ILines.Add Method

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

Syntax

'Declaration
Function Add ( _
    X1 As Double, _
    Y1 As Double, _
    X2 As Double, _
    Y2 As Double _
) As Line
'Usage
Dim instance As ILines
Dim X1 As Double
Dim Y1 As Double
Dim X2 As Double
Dim Y2 As Double
Dim returnValue As Line

returnValue = instance.Add(X1, Y1, X2, Y2)
Line Add(
    double X1,
    double Y1,
    double X2,
    double Y2
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Excel.Line

See Also

Reference

ILines Interface

ILines Members

Microsoft.Office.Interop.Excel Namespace