Collapse the table of content
Expand the table of content
Expand Minimize

MsoGradientStyle Enumeration (Office)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Specifies the style for a gradient fill.

Name

Value

Description

msoGradientDiagonalDown

4

Diagonal gradient moving from a top corner down to the opposite corner.

msoGradientDiagonalUp

3

Diagonal gradient moving from a bottom corner up to the opposite corner.

msoGradientFromCenter

7

Gradient running from the center out to the corners.

msoGradientFromCorner

5

Gradient running from a corner to the other three corners.

msoGradientFromTitle

6

Gradient running from the title outward.

msoGradientHorizontal

1

Gradient running horizontally across the shape.

msoGradientMixed

-2

Gradient is mixed.

msoGradientVertical

2

Gradient running vertically down the shape.

Show:
© 2016 Microsoft