GradientType Property

The GradientType property returns or sets the type of gradient fill. Returns a grfGradientType.

Syntax

object.GradientType

object.GradientType = GradientType

 

Parameter Type Description
GradientType Enum Required, grfGradientType

 

Example 1

This example demonstrates how to return the gradient fill type value.

Debug.Print FillFormat.GradientType

Example 2

This example demonstrates how to set the gradient fill type to Radial.

FillFormat.GradientType = grfGradientRadial

 

Used by: AutoFill object