Partager via


FillFormat.GradientColorType Property

Returns the gradient color type for the specified fill. Read-only.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
ReadOnly Property GradientColorType As MsoGradientColorType
    Get
'Usage
Dim instance As FillFormat
Dim value As MsoGradientColorType

value = instance.GradientColorType
MsoGradientColorType GradientColorType { get; }

Property Value

Type: Microsoft.Office.Core.MsoGradientColorType

Remarks

Use the OneColorGradient(MsoGradientStyle, Int32, Single), PresetGradient(MsoGradientStyle, Int32, MsoPresetGradientType), or TwoColorGradient(MsoGradientStyle, Int32) method to set the gradient type for the fill.

The value returned by the GradientColorType property can be one of these MsoGradientColorType constants.

msoGradientColorMixed

msoGradientOneColor

msoGradientPresetColors

msoGradientTwoColors

See Also

Reference

FillFormat Interface

FillFormat Members

Microsoft.Office.Interop.PowerPoint Namespace