Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / LineBorderFactory Class / CreateLineBorder Method / CreateLineBorder(Color,Int32) Method
Color of the line
Thickness of the line in pixels


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

    Parameters

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