FillFormat.GradientStyle Property
Returns the gradient style for the specified fill.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
ReadOnly Property GradientStyle As MsoGradientStyle
Get
'Usage
Dim instance As FillFormat
Dim value As MsoGradientStyle
value = instance.GradientStyle
MsoGradientStyle GradientStyle { get; }
Property Value
Type: MsoGradientStyle
Remarks
Use the OneColorGradient or TwoColorGradient 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.