LineGradientDir Cell (Gradient Properties Section)
Last modified: March 09, 2015
Applies to: Office 2013 | Visio 2013
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. |
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:
|
Cell name: |
LineGradientDir |
To get a reference to the LineGradientDir cell by index from a program, use the CellsSRC property with the following arguments:
|
Section index: |
visSectionObject |
|
Row index: |
visRowGradientProperties |
|
Cell index: |
visLineGradientDir |
Note