Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal color As Color, _ ByVal width As Integer, _ ByVal lightness As Integer, _ ByVal darkness As Integer _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim color As Color Dim width As Integer Dim lightness As Integer Dim darkness As Integer Dim instance As New Bevel(color, width, lightness, darkness) |
Parameters
- color
- A Color that represents the bevel background.
- width
- An System.Int32 value that indicates the width of the bevel.
- lightness
- An System.Int32 value (between -100 through 100) that indicates the lighting percentage.
- darkness
- An System.Int32 value (between -100 through 100) that indicates the shading percentage.
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8