Version

CellFillPattern Constructor

Creates a new CellFillPattern instance.
Syntax
'Declaration
 
Public Function New( _
   ByVal backgroundColorInfo As WorkbookColorInfo, _
   ByVal patternColorInfo As WorkbookColorInfo, _
   ByVal patternStyle As FillPatternStyle _
)

Parameters

backgroundColorInfo
A WorkbookColorInfo which describes the background color of the cell, which will only be seen if the patternStyle is not None.
patternColorInfo
A WorkbookColorInfo which describes the pattern color of the cell, which will only be seen if the patternStyle is not None or Solid.
patternStyle
The fill pattern for the cell.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionpatternStyle is Default or not defined in the FillPatternStyle enumeration.
Remarks

backgroundColorInfo and patternColorInfo can be specified as null to use the default colors.

Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub