FillFormat.GradientStyle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the gradient style for the specified fill.
public:
property Microsoft::Office::Core::MsoGradientStyle GradientStyle { Microsoft::Office::Core::MsoGradientStyle get(); };
public Microsoft.Office.Core.MsoGradientStyle GradientStyle { get; }
member this.GradientStyle : Microsoft.Office.Core.MsoGradientStyle
Public ReadOnly Property GradientStyle As MsoGradientStyle
Property Value
Remarks
Use the OneColorGradient(MsoGradientStyle, Int32, Single) or TwoColorGradient(MsoGradientStyle, Int32) method to set the gradient style for the fill.
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.