GlowEffect.Color
GlowEffect.Color property
Gets the color of the glow effect.
public CellsColor Color { get; set; }
Examples
using System;
using Aspose.Cells;
using Aspose.Cells.Drawing;
namespace AsposeCellsExamples
{
public class GlowEffectPropertyColorDemo
{
public static void Run()
{
Workbook workbook = new Workbook();
Worksheet worksheet = workbook.Worksheets[0];
Shape shape = worksheet.Shapes.AddAutoShape(AutoShapeType.RoundedRectangle, 10, 10, 100, 100, 100, 100);
shape.Glow.Size = 8;
shape.Glow.Transparency = 0.6;
CellsColor glowColor = shape.Glow.Color;
glowColor.ThemeColor = new ThemeColor(ThemeColorType.Accent2, 0);
workbook.Save("output.xlsx");
}
}
}
See Also
- class CellsColor
- class GlowEffect
- namespace Aspose.Cells.Drawing
- assembly Aspose.Cells