Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / Bevel Structure / Bevel Constructor
A Color that represents the bevel background.
An System.Int32 value that indicates the width of the bevel.
An System.Int32 value (between -100 through 100) that indicates the lighting percentage.
An System.Int32 value (between -100 through 100) that indicates the shading percentage.


In This Topic
    Bevel Constructor
    In This Topic
    Initializes a new Bevel instance using the specified attributes.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal color As Color, _
       ByVal width As Integer, _
       ByVal lightness As Integer, _
       ByVal darkness As Integer _
    )
    '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)
    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.
    See Also