Fill pattern styles used for
ExcelFillPattern.PatternStyle.
Namespace: GemBox.SpreadsheetAssembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 35.0.30.1025
Syntax
| C# |
|---|
public enum FillPatternStyle |
| Visual Basic |
|---|
Public Enumeration FillPatternStyle |
Members
| Member name | Value | Description | |
|---|---|---|---|
| None | 0 | No fill pattern. | |
| Solid | 1 | "Solid" fill pattern using foreground color. | |
| Gray6 | 18 | "6% Gray" is Microsoft Excel pattern name, but any color can be used instead of black as a foreground color. | |
| Gray12 | 17 | "12% Gray" is Microsoft Excel pattern name, but any color can be used instead of black as a foreground color. | |
| Gray25 | 4 | "25% Gray" is Microsoft Excel pattern name, but any color can be used instead of black as a foreground color. | |
| Gray50 | 2 | "50% Gray" is Microsoft Excel pattern name, but any color can be used instead of black as a foreground color. | |
| Gray75 | 3 | "75% Gray" is Microsoft Excel pattern name, but any color can be used instead of black as a foreground color. | |
| HorizontalStripe | 5 | "Horizontal Stripe" pattern. | |
| VerticalStripe | 6 | "Vertical Stripe" pattern. | |
| DiagonalStripe | 8 | "Diagonal Stripe" pattern. | |
| ReverseDiagonalStripe | 7 | "Reverse Diagonal Stripe" pattern. | |
| DiagonalCrosshatch | 9 | "Diagonal Crosshatch" pattern. | |
| ThickDiagonalCrosshatch | 10 | "Thick Diagonal Crosshatch" pattern. | |
| ThinHorizontalStripe | 11 | "Thin Horizontal Stripe" pattern. | |
| ThinVerticalStripe | 12 | "Thin Vertical Stripe" pattern. | |
| ThinDiagonalStripe | 14 | "Thin Diagonal Stripe" pattern. | |
| ThinReverseDiagonalStripe | 13 | "Thin Reverse Diagonal Stripe" pattern. | |
| ThinHorizontalCrosshatch | 15 | "Thin Horizontal Crosshatch" pattern. | |
| ThinDiagonalCrosshatch | 16 | "Thin Diagonal Crosshatch" pattern. |
Remarks
To see names of Microsoft Excel patterns, start Microsoft Excel and go to "Format" menu > "Cells..." submenu > "Patterns" tab > "Pattern" drop-down. When hovering over a pattern, Microsoft Excel name is displayed in tooltip text.
None fill pattern uses no colors.
Solid fill pattern uses ExcelFillPattern.PatternForegroundColor.
All other paterns use both ExcelFillPattern.PatternForegroundColor and ExcelFillPattern.PatternBackgroundColor