DrawLine(Pen,Double,Double,Double,Double) Method
In This Topic
Draws a line between the specified points using the specified
GrapeCity.Spreadsheet.BorderLine.
Syntax
'Declaration
Overloads Sub DrawLine( _
ByVal As Pen, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double, _
ByVal As Double _
)
'Usage
Dim instance As IDrawingContext
Dim pen As Pen
Dim x As Double
Dim y As Double
Dim x2 As Double
Dim y2 As Double
instance.DrawLine(pen, x, y, x2, y2)
void DrawLine(
Pen ,
double ,
double ,
double ,
double
)
Parameters
- pen
- x
- The x-coordinate of the start point of the line.
- y
- The y-coordinate of the start point of the line.
- x2
- The x-coordinate of the end point of the line.
- y2
- The y-coordinate of the end point of the line.
See Also