API.DrawLine Method

Adds a line to the current drawing
Public Shared Function DrawLine( _ 
ByVal x1 As Double, _ 
ByVal y1 As Double, _ 
ByVal x2 As Double, _ 
ByVal y2 As Double, _ 
Optional ByVal color As Integer = 258 _ 
) As Object
This language is not supported or no code example is available.
public static object DrawLine( 
double x1
double y1
double x2
double y2
int color = 258 
)
This language is not supported or no code example is available.
public:  
static object^ DrawLine( 
double x1
double y1
double x2
double y2
int color 
)
This language is not supported or no code example is available.
public static function DrawLine( 
x1 : double
y1 : double
x2 : double
y2 : double
color : int 
) : object;
This language is not supported or no code example is available.

Parameters

x1
double

y1
double

x2
double

y2
double

color
int

Return Value

object

The line entity

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition