LineFormat.GradientStyle property (Publisher)

Returns the gradient style for the specified line. Read-only MsoGradientStyle.

Syntax

expression.GradientStyle

expression A variable that represents a LineFormat object.

Return value

MsoGradientStyle

Remarks

Attempting to return this property for a line that doesn't have a gradient generates an error. Use the Type property to determine whether the line has a gradient.

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.