Partager via


SmartArtColors Object (Office)

A collection of SmartArt color styles.

Version Information

Version Added: Office 2010

Remarks

Simulates the commands on the Microsoft Office Fluent Ribbon user interface on the SmartArt Tools, on the Design group, on the Change Colors command.

Example

The following code sets the color scheme of the Smart Art diagram.

ActivePresentation.Slides(1).Shapes(1).SmartArt.Color = Application.SmartArtColors(1)

See Also

Concepts

Object Model Reference

SmartArtColors Object Members