Name Property [AutoGradient]

The Name property returns or sets the name of the color gradient. Returns a String. Use the SetGradient method to set custom colors to a gradient.

Syntax

object.Name

object.Name =Name

Example

This example demonstrates how to set the gradient of a rectangle to "Rainbow"

Rectangle.Fill.Gradient.Name = "Rainbow"

 

Used by: AutoGradient object