'Declaration Public Overloads Shared Function CreatePatternFill( _ ByVal backgroundColorInfo As WorkbookColorInfo, _ ByVal patternColorInfo As WorkbookColorInfo, _ ByVal patternStyle As FillPatternStyle _ ) As CellFillPattern
public static CellFillPattern CreatePatternFill( WorkbookColorInfo backgroundColorInfo, WorkbookColorInfo patternColorInfo, FillPatternStyle patternStyle )
Exception | Description |
---|---|
System.ComponentModel.InvalidEnumArgumentException | patternStyle is Default or not defined in the FillPatternStyle enumeration. |
backgroundColorInfo and patternColorInfo can be specified as null to use the default colors.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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