[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Fill.-ctor

Fill Constructor

Fill(Color)

Initializes a new instance of the Fill class which represents a solid pattern fill.

Declaration
public Fill(Color patternColor)
Public Sub New(patternColor As Color)
Parameters
Type Name Description
Color patternColor

A Color value indicates the pattern color of pattern fill.

Fill(PatternType, Color, Color)

Initializes a new instance of the Fill class.

Declaration
public Fill(PatternType parternType, Color patternColor = default, Color backgroundColor = default)
Public Sub New(parternType As PatternType, Optional patternColor As Color = Nothing, Optional backgroundColor As Color = Nothing)
Parameters
Type Name Description
PatternType parternType

A PatternType value indicates the type of pattern fill.

Color patternColor

A Color value indicates the pattern color of pattern fill.

Color backgroundColor

A Color value indicates the background color of pattern fill.