[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IColorFormat.RGB

RGB Property

RGB

Gets or sets the RGB color value.

Use this property to read or specify the current RGB color value used by APIs that accept color values.

Declaration
Color RGB { get; set; }
Property RGB As Color
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 40, 40, 100, 60);
shape.Fill.Solid();
shape.Fill.Color.RGB = Color.Red;
Color color = shape.Fill.Color.RGB;