Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartPaint Class / DrawDottedLine Method
A System.Drawing.Color structure representing the background color of the dotted line.
A System.Drawing.Color structure representing the foreground color of the dotted line.
A System.Drawing.Point representing the point at which to begin drawing the line.
A System.Drawing.Point representing the point at which to stop drawing the line.


In This Topic
    DrawDottedLine Method
    In This Topic
    Draws a dotted line using the specified colors from the first point to the second.
    Syntax
    'Declaration
     
    Public Sub DrawDottedLine( _
       ByVal color1 As Color, _
       ByVal color2 As Color, _
       ByVal point1 As Point, _
       ByVal point2 As Point _
    ) 
    'Usage
     
    Dim instance As SmartPaint
    Dim color1 As Color
    Dim color2 As Color
    Dim point1 As Point
    Dim point2 As Point
     
    instance.DrawDottedLine(color1, color2, point1, point2)
    public void DrawDottedLine( 
       Color color1,
       Color color2,
       Point point1,
       Point point2
    )

    Parameters

    color1
    A System.Drawing.Color structure representing the background color of the dotted line.
    color2
    A System.Drawing.Color structure representing the foreground color of the dotted line.
    point1
    A System.Drawing.Point representing the point at which to begin drawing the line.
    point2
    A System.Drawing.Point representing the point at which to stop drawing the line.
    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