Category.CategoryGradientTopColor property (Outlook)

Returns an OLE_COLOR value that represents the top gradient color of the color swatch displayed for a Category object. Read-only.

Syntax

expression. CategoryGradientTopColor

expression A variable that represents a Category object.

Remarks

Setting the Color property of the Category object to an OlCategoryColor constant changes the value of this property, as well as the value of the CategoryGradientBottomColor and CategoryBorderColor properties.

This color should be used to display a gradient-shaded color swatch for the Category object.

See also

Category Object

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.