LineGradientDir Cell (Gradient Properties Section)

Determines the direction of the line gradient. A gradient can be linear, radial, rectangular, or follow a path.

Note

A linear gradient is the only gradient that takes an additional angle value (as determined by LineGradientDir cell). All other gradient directions have preset enumerations.

Value Description
0
Linear gradient. The LineGradientAngle cell determines the direction of the gradient.
1-7
Radial gradients. The gradient extends outwards in a circle from a central point.
8-12
Rectangular gradients. The gradient extends as a directional line from an origin with a rectangular-shaped fade.
13
Path gradient.

Remarks

To get a reference to the LineGradientDir cell by name from another formula, by value of the N attribute of a Cell element, or from a program using the CellsU property, use:

Value
Cell name:
LineGradientDir

To get a reference to the LineGradientDir cell by index from a program, use the CellsSRC property with the following arguments:

Value
Section index:
visSectionObject
Row index:
visRowGradientProperties
Cell index:
visLineGradientDir