Description
Represents the types of style of fill pattern foreground.

Namespace: Docs.Excel
Assembly: Excel (in Excel.dll) Version: 3.1.0.0 (3.1)

Syntax

         
 C#  Visual Basic  Visual C++ 
public enum TypeOfFillPattern
Public Enumeration TypeOfFillPattern
public enum class TypeOfFillPattern

Members

MemberValueDescription
None0
No fill pattern.
Solid1
"Solid" fill pattern using foreground color.
Gray502
"50% Gray" is Microsoft Excel pattern name, but any color can be used instead of black as a foreground color.("Gray50" for .xls; "mediumGray" for .xlsx)
Gray753
"75% Gray" is Microsoft Excel pattern name, but any color can be used instead of black as a foreground color. ("Gray75" for .xls; "darkGray" for .xlsx)
Gray254
"25% Gray" is Microsoft Excel pattern name, but any color can be used instead of black as a foreground color. ("Gray25" for .xls; "lightGray" for .xlsx)
HorizontalStripe5
"Horizontal Stripe" pattern. ("HorizontalStripe" for .xls; "darkHorizontal" for .xlsx)
VerticalStripe6
"Vertical Stripe" pattern. ("VerticalStripe" for .xls; "darkVertical" for .xlsx)
ReverseDiagonalStripe7
"Reverse Diagonal Stripe" pattern. ("ReverseDiagonalStripe" for .xls; "darkDown" for .xlsx)
DiagonalStripe8
"Diagonal Stripe" pattern. ("DiagonalStripe" for .xls; "darkUp" for .xlsx)
DiagonalCrosshatch9
"Diagonal Crosshatch" pattern. ("DiagonalCrosshatch" for .xls; "darkGrid" for .xlsx)
ThickDiagonalCrosshatch10
"Thick Diagonal Crosshatch" pattern. ("ThickDiagonalCrosshatch" for .xls; "darkTrellis" for .xlsx)
ThinHorizontalStripe11
"Thin Horizontal Stripe" pattern. ("ThinHorizontalStripe" for .xls; "lightHorizontal" for .xlsx)
ThinVerticalStripe12
"Thin Vertical Stripe" pattern. ("ThinVerticalStripe" for .xls; "lightVertical" for .xlsx)
ThinReverseDiagonalStripe13
"Thin Reverse Diagonal Stripe" pattern. ("ThinReverseDiagonalStripe" for .xls; "lightDown" for .xlsx)
ThinDiagonalStripe14
"Thin Diagonal Stripe" pattern. ("ThinDiagonalStripe" for .xls; "lightUp" for .xlsx)
ThinHorizontalCrosshatch15
"Thin Horizontal Crosshatch" pattern. ("ThinHorizontalCrosshatch" for .xls; "lightGrid" for .xlsx)
ThinDiagonalCrosshatch16
"Thin Diagonal Crosshatch" pattern. ("ThinDiagonalCrosshatch" for .xls; "lightTrellis" for .xlsx)
Gray1217
"12% Gray" is Microsoft Excel pattern name, but any color can be used instead of black as a foreground color. ("Gray12" for .xls; "gray125" for .xlsx)
Gray618
"6% Gray" is Microsoft Excel pattern name, but any color can be used instead of black as a foreground color. ("Gray6" for .xls; "gray0625" for .xlsx)
GradientHorizontal19
Angle of the linear gradient - horizontal. Gradient fill from color1 to color2 (Only .xlsx).
GradientHorizontalRevers20
Angle of the linear gradient - horizontal. Gradient fill from color2 to color1 (Only .xlsx).
GradientHorizontalCenter21
Angle of the linear gradient - horizontal. Gradient fill from color1 to color2 to Color1 (Only .xlsx).
GradientVertical22
Angle of the linear gradient - vertical. Gradient fill from color1 to color2 (Only .xlsx).
GradientVerticalRevers23
Angle of the linear gradient - vertical. Gradient fill from color2 to color1 (Only .xlsx).
GradientVarticalCenter24
Angle of the linear gradient - vertical. Gradient fill from color1 to color2 to color1 (Only .xlsx).
GradientDiagonalUp25
Angle of the linear gradient - diagonal up. Gradient fill from color1 to color2 (Only .xlsx).
GradientDiagonalUpRevers26
Angle of the linear gradient - diagonal up. Gradient fill from color2 to color1 (Only .xlsx).
GradientDiagonalUpCenter27
Angle of the linear gradient - diagonal up. Gradient fill from color1 to color2 to color1 (Only .xlsx).
GradientDiagonalDown28
Angle of the linear gradient - diagonal down. Gradient fill from color1 to color2 (Only .xlsx).
GradientDiagonalDownRevers29
Angle of the linear gradient - diagonal down. Gradient fill from color2 to color1 (Only .xlsx).
GradientDiagonalDownCenter30
Angle of the linear gradient - diagonal up. Gradient fill from color1 to color2 to color1 (Only .xlsx).
GradientFromCornerTopLeft31
Path gradient type means the that the boundary of transition from one color to the next is a rectangle. Rectangle placed in the top-left corner.
GradientFromCornerTopRight32
Path gradient type means the that the boundary of transition from one color to the next is a rectangle. Rectangle placed in the top-right corner.
GradientFromCornerBottomLeft33
Path gradient type means the that the boundary of transition from one color to the next is a rectangle. Rectangle placed in the top-right corner.
GradientFromCornerBottomRigth34
Path gradient type means the that the boundary of transition from one color to the next is a rectangle. Rectangle placed in the top-right corner.
GradientFromCenter35
Path gradient type means the that the boundary of transition from one color to the next is a rectangle. Rectangle placed in the center corner.

See Also