Share via


DrawLine Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Draws a line on the drawing surface.

Namespace:  Microsoft.SPOT.Presentation.Media
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Sub DrawLine ( _
    pen As Pen, _
    x0 As Integer, _
    y0 As Integer, _
    x1 As Integer, _
    y1 As Integer _
)
public void DrawLine(
    Pen pen,
    int x0,
    int y0,
    int x1,
    int y1
)
public:
void DrawLine(
    Pen^ pen, 
    int x0, 
    int y0, 
    int x1, 
    int y1
)
member DrawLine : 
        pen:Pen * 
        x0:int * 
        y0:int * 
        x1:int * 
        y1:int -> unit 
public function DrawLine(
    pen : Pen, 
    x0 : int, 
    y0 : int, 
    x1 : int, 
    y1 : int
)

Parameters

.NET Framework Security

See Also

Reference

DrawingContext Class

Microsoft.SPOT.Presentation.Media Namespace