Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / BevelBorder Class / BevelBorder Constructor / BevelBorder Constructor(BevelBorderType,Color,Color,Int32,Boolean,Boolean,Boolean,Boolean)
Type of beveled border
Color of highlight for beveled border
Color of shadow for beveled border
Thickness of beveled border in pixels
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
    BevelBorder Constructor(BevelBorderType,Color,Color,Int32,Boolean,Boolean,Boolean,Boolean)
    In This Topic
    Creates a beveled border with the specified type, highlight color, shadow color, thickness, and sides on which the border is drawn.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal type As BevelBorderType, _
       ByVal highlight As Color, _
       ByVal shadow As Color, _
       ByVal thickness As Integer, _
       ByVal left As Boolean, _
       ByVal top As Boolean, _
       ByVal right As Boolean, _
       ByVal bottom As Boolean _
    )
    'Usage
     
    
    Dim type As BevelBorderType
    Dim highlight As Color
    Dim shadow As Color
    Dim thickness As Integer
    Dim left As Boolean
    Dim top As Boolean
    Dim right As Boolean
    Dim bottom As Boolean
     
    Dim instance As New BevelBorder(type, highlight, shadow, thickness, left, top, right, bottom)

    Parameters

    type
    Type of beveled border
    highlight
    Color of highlight for beveled border
    shadow
    Color of shadow for beveled border
    thickness
    Thickness of beveled border in pixels
    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
    See Also