Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Fill Structure / Fill Constructor / Fill Constructor(PatternType,Color,Color)
A PatternType value indicates the type of pattern fill.
A Color value indicates the pattern color of pattern fill.
A Color value indicates the background color of pattern fill.


In This Topic
    Fill Constructor(PatternType,Color,Color)
    In This Topic
    Initializes a new instance of the Fill class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal parternType As PatternType, _
       Optional ByVal patternColor As Color, _
       Optional ByVal backgroundColor As Color _
    )
    'Usage
     
    
    Dim parternType As PatternType
    Dim patternColor As Color
    Dim backgroundColor As Color
     
    Dim instance As New Fill(parternType, patternColor, backgroundColor)

    Parameters

    parternType
    A PatternType value indicates the type of pattern fill.
    patternColor
    A Color value indicates the pattern color of pattern fill.
    backgroundColor
    A Color value indicates the background color of pattern fill.
    See Also