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
- X1
Type: System.Double
- Y1
Type: System.Double
- X2
Type: System.Double
- Y2
Type: System.Double
Return Value
Type: Microsoft.Office.Interop.Excel.Line