Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / GridLine Class / GridLine Constructor / GridLine Constructor(GridLineType,Color,Color,Color,Int32)
Type of grid line
Color of grid line
Highlight color for the grid line
Shadow color for the grid line
Width of grid line


In This Topic
    GridLine Constructor(GridLineType,Color,Color,Color,Int32)
    In This Topic
    Creates a new grid line of the specified line type, colors, and width.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal type As GridLineType, _
       ByVal color As Color, _
       ByVal highlightColor As Color, _
       ByVal shadowColor As Color, _
       ByVal width As Integer _
    )
    'Usage
     
    
    Dim type As GridLineType
    Dim color As Color
    Dim highlightColor As Color
    Dim shadowColor As Color
    Dim width As Integer
     
    Dim instance As New GridLine(type, color, highlightColor, shadowColor, width)

    Parameters

    type
    Type of grid line
    color
    Color of grid line
    highlightColor
    Highlight color for the grid line
    shadowColor
    Shadow color for the grid line
    width
    Width of grid line
    Exceptions
    ExceptionDescription
    The type is not one of the BorderStyle values.
    The width is less that -1.
    See Also