Partager via


GradientType Property

Sets or retrieves the orientation of the gradient.

Syntax

HTML
N/A
Scripting
object.filters.item(
    "DXImageTransform.Microsoft.Gradient").GradientType [ = iOrientation ]

Possible Values

iOrientation Integer that specifies or receives one of the values listed in Possible Values.
1
Displays a horizontal gradient.
0
Default. Displays a vertical gradient.

The property is read/write. The property has a default value of 0.

Applies To

Gradient