Drawings.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, _
Closed As Boolean _
) As Drawing
'Usage
Dim instance As Drawings
Dim X1 As Double
Dim Y1 As Double
Dim X2 As Double
Dim Y2 As Double
Dim Closed As Boolean
Dim returnValue As Drawing
returnValue = instance.Add(X1, Y1, X2, Y2, _
Closed)
Drawing Add(
double X1,
double Y1,
double X2,
double Y2,
bool Closed
)
Parameters
- X1
Type: System.Double
- Y1
Type: System.Double
- X2
Type: System.Double
- Y2
Type: System.Double
- Closed
Type: System.Boolean
Return Value
Type: Microsoft.Office.Interop.Excel.Drawing