[]
Gets or sets the workbook theme color used by this color format.
Setting this property uses the ThemeColor value to define the color and changes the color type to Theme.
ThemeColor ObjectThemeColor { get; set; }
Property ObjectThemeColor As ThemeColor
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 10, 10, 120, 60);
IColorFormat colorFormat = shape.Fill.Color;
colorFormat.ObjectThemeColor = ThemeColor.Accent2;
ThemeColor themeColor = colorFormat.ObjectThemeColor;