SpreadsheetGear 2012
GradientStyle Enumeration






Specifies the style and direction of a gradient fill.
Syntax
'Declaration
 
Public Enum GradientStyle 
   Inherits System.Enum
'Usage
 
Dim instance As GradientStyle
public enum GradientStyle : System.Enum 
public enum GradientStyle = class(System.Enum)
public enum GradientStyle extends System.Enum
__value public enum GradientStyle : public System.Enum 
public enum class GradientStyle : public System.Enum 
Members
MemberDescription
DiagonalDownFromCornersExcel equivalent: Style=msoGradientStyleDiagonalDown, Variant=3
DiagonalDownFromLowerLeftExcel equivalent: Style=msoGradientStyleDiagonalDown, Variant=2
DiagonalDownFromMiddleExcel equivalent: Style=msoGradientStyleDiagonalDown, Variant=4
DiagonalDownFromUpperRightExcel equivalent: Style=msoGradientStyleDiagonalDown, Variant=1
DiagonalUpFromCornersExcel equivalent: Style=msoGradientStyleDiagonalUp, Variant=3
DiagonalUpFromLowerRightExcel equivalent: Style=msoGradientStyleDiagonalUp, Variant=2
DiagonalUpFromMiddleExcel equivalent: Style=msoGradientStyleDiagonalUp, Variant=4
DiagonalUpFromUpperLeftExcel equivalent: Style=msoGradientStyleDiagonalUp, Variant=1
FromCenterExcel equivalent: Style=msoGradientStyleFromCenter, Variant=1
FromCenterInvertedExcel equivalent: Style=msoGradientStyleFromCenter, Variant=2
FromCornerLowerLeftExcel equivalent: Style=msoGradientStyleFromCorner, Variant=3
FromCornerLowerRightExcel equivalent: Style=msoGradientStyleFromCorner, Variant=4
FromCornerUpperLeftExcel equivalent: Style=msoGradientStyleFromCorner, Variant=1
FromCornerUpperRightExcel equivalent: Style=msoGradientStyleFromCorner, Variant=2
HorizontalFromBottomExcel equivalent: Style=msoGradientStyleHorizontal, Variant=2
HorizontalFromEdgesExcel equivalent: Style=msoGradientStyleHorizontal, Variant=3
HorizontalFromMiddleExcel equivalent: Style=msoGradientStyleHorizontal, Variant=4
HorizontalFromTopExcel equivalent: Style=msoGradientStyleHorizontal, Variant=1
MixedReturned when no gradient style can be identified.
VerticalFromEdgesExcel equivalent: Style=msoGradientStyleVertical, Variant=3
VerticalFromLeftExcel equivalent: Style=msoGradientStyleVertical, Variant=1
VerticalFromMiddleExcel equivalent: Style=msoGradientStyleVertical, Variant=4
VerticalFromRightExcel equivalent: Style=msoGradientStyleVertical, Variant=2
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         SpreadsheetGear.Shapes.GradientStyle

Requirements

Target Platforms: 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

Reference

SpreadsheetGear.Shapes Namespace

Send Feedback