Edit

Share via


LineFormat.GradientVariant property (Publisher)

Returns the gradient variant for the specified line as an integer value, usually from 1 to 4. Read-only.

Syntax

expression.GradientVariant

expression A variable that represents a LineFormat object.

Return value

Long

Remarks

If the gradient style is msoGradientFromCenter, this property returns either 1 or 2.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.