Gets or sets the gradient type of the background.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property BackgroundGradientType As ExpressionInfo |
Return Value
An enumerated ExpressionInfo that evaluates to the BackgroundGradientType of the background. Valid values are listed in the table below.
| BackgroundGradientType | Description |
| None (Default) | The background is a solid color with no gradient. |
| LeftRight | The BackgroundColor begins on the left and blends into the BackgroundGradientEndColor on the right. |
| TopBottom | The BackgroundColor begins at the top and blends into the BackgroundGradientEndColor at the bottom. |
| Center | The BackgroundColor begins at the center and blends into the BackgroundGradientEndColor at the edges. |
| DiagonalLeft | The BackgroundColor begins at the bottom left and blends into the BackgroundGradientEndColor at the top right. |
| DiagonalRight | The BackgroundColor begins at the bottom right and blends into the BackgroundGradientEndColor at the top left. |
| HorizontalCenter | The BackgroundColor begins in a vertical swatch at the center and blends into the BackgroundGradientEndColor on the left and right. |
| VerticalCenter | The BackgroundColor begins in a horizontal swatch at the center and blends into the BackgroundGradientEndColor at the top and bottom. |
See Also