Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

LineGradientDir Cell (Gradient Properties Section)

Office 2013

Last modified: February 15, 2012

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 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

Show:
© 2015 Microsoft