Spread Windows Forms 13.0 Product Documentation
FarPoint.Win Assembly / FarPoint.Win Namespace / DoubleLineBorderFactory Class / CreateDoubleLineBorder Method / CreateDoubleLineBorder(Color,Boolean,Boolean,Boolean,Boolean) Method
Color of the double lines
Whether to draw the left side
Whether to draw the top
Whether to draw the right side
Whether to draw the bottom


In This Topic
    CreateDoubleLineBorder(Color,Boolean,Boolean,Boolean,Boolean) Method
    In This Topic
    Creates a double-line border with the specified color and sides on which the border is drawn.
    Syntax
    'Declaration
     
    Public Overloads Function CreateDoubleLineBorder( _
       ByVal color As Color, _
       ByVal left As Boolean, _
       ByVal top As Boolean, _
       ByVal right As Boolean, _
       ByVal bottom As Boolean _
    ) As DoubleLineBorder
    'Usage
     
    Dim instance As DoubleLineBorderFactory
    Dim color As Color
    Dim left As Boolean
    Dim top As Boolean
    Dim right As Boolean
    Dim bottom As Boolean
    Dim value As DoubleLineBorder
     
    value = instance.CreateDoubleLineBorder(color, left, top, right, bottom)
    public DoubleLineBorder CreateDoubleLineBorder( 
       Color color,
       bool left,
       bool top,
       bool right,
       bool bottom
    )

    Parameters

    color
    Color of the double lines
    left
    Whether to draw the left side
    top
    Whether to draw the top
    right
    Whether to draw the right side
    bottom
    Whether to draw the bottom

    Return Value

    Double-line border (DoubleLineBorder object) with the parameters specified
    Requirements

    Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

    See Also