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 As BevelBorderType, _
ByVal As Color, _
ByVal shadow As Color, _
ByVal As Integer, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal 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