GradientType

HTML (DHTML)

GradientType Property

Internet Development Index

Sets or retrieves the orientation of the gradient.

Syntax

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

Possible Values

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

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

Applies To

Gradient