Nevron .NET Vision
Nevron.GraphicsCore Namespace / NGraphics Class / DrawLine Method


In This Topic
    DrawLine Method
    In This Topic
    Draws a line connecting two NPointF structures.
    Syntax
    'Declaration
     
    
    Public Sub DrawLine( _
       ByVal strokeStyle As NStrokeStyle, _
       ByVal pt1 As NPointF, _
       ByVal pt2 As NPointF _
    ) 
    'Usage
     
    
    Dim instance As NGraphics
    Dim strokeStyle As NStrokeStyle
    Dim pt1 As NPointF
    Dim pt2 As NPointF
     
    instance.DrawLine(strokeStyle, pt1, pt2)
    public void DrawLine( 
       NStrokeStyle strokeStyle,
       NPointF pt1,
       NPointF pt2
    )

    Parameters

    strokeStyle
    pt1
    pt2
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also