Bewerken

Delen via


FillFormat.GradientStyle Property

Definition

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.

Applies to