Spread Windows Forms 12.0 Product Documentation
Fill Constructor(PatternType,Color,Color)


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.
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)
public Fill( 
   PatternType parternType,
   Color patternColor,
   Color 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

Reference

Fill Structure
Fill Members
Overload List