Spread Windows Forms 7.0 Product Documentation
Bevel Constructor
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > Bevel Structure : Bevel Constructor


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.

Glossary Item Box

Initializes a new Bevel instance using the specified attributes.

Syntax

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)Copy Code
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)
C# 
public Bevel( 
   Color color,
   int width,
   int lightness,
   int 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.

Requirements

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

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.