Share via


FillFormat.PresetGradient Method

Sets the specified fill to a preset gradient.

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

Syntax

'Declaration
Sub PresetGradient ( _
    Style As MsoGradientStyle, _
    Variant As Integer, _
    PresetGradientType As MsoPresetGradientType _
)
'Usage
Dim instance As FillFormat
Dim Style As MsoGradientStyle
Dim Variant As Integer
Dim PresetGradientType As MsoPresetGradientType

instance.PresetGradient(Style, Variant, _
    PresetGradientType)
void PresetGradient(
    MsoGradientStyle Style,
    int Variant,
    MsoPresetGradientType PresetGradientType
)

Parameters

Remarks

The Style parameter value can be one of the MsoGradientStyle constants.

The PresetGradientType parameter value can be one of the MsoPresetGradientType constants.

See Also

Reference

FillFormat Interface

FillFormat Members

Microsoft.Office.Interop.PowerPoint Namespace