GradientStyle Property

         Example         Applies To

Returns the gradient style for the specified fill. Can be one of the following MsoGradientStyle constants: msoGradientDiagonalDown, msoGradientDiagonalUp, msoGradientFromCenter, msoGradientFromCorner, msoGradientHorizontal, msoGradientMixed, or msoGradientVertical. (The constant msoGradientFromTitle is used only in PowerPoint.) Read-only Long.

This property is read-only. Use the OneColorGradient or TwoColorGradient method to set the gradient style for the fill.

Note   Attempting to return this property for a fill that doesn't have a gradient generates an error. Use the Type property to determine whether the fill has a gradient.