Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / LineBorder Class / LineBorder Constructor / LineBorder Constructor(Color,Int32)
Color of the line
Thickness of the line, in pixels


In This Topic
    LineBorder Constructor(Color,Int32)
    In This Topic
    Creates a simple single-line border with the specified color and thickness.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal color As Color, _
       ByVal thickness As Integer _
    )
    'Usage
     
    
    Dim color As Color
    Dim thickness As Integer
     
    Dim instance As New LineBorder(color, thickness)
    public LineBorder( 
       Color color,
       int thickness
    )

    Parameters

    color
    Color of the line
    thickness
    Thickness of the line, in pixels
    See Also