Class
SpreadColor

Immutable ARGB color value used in cell formatting and theming.

Definition

Namespace:Telerik.Documents.SpreadsheetStreaming

Assembly:Telerik.Documents.SpreadsheetStreaming.dll

Syntax:

cs-api-definition
public class SpreadColor

Inheritance: objectSpreadColor

Constructors

SpreadColor(byte, byte, byte)

Initializes a new instance of the SpreadColor class.

Declaration

cs-api-definition
public SpreadColor(byte r, byte g, byte b)

Parameters

r

byte

The red component value.

g

byte

The green component value.

b

byte

The blue component value.

Properties

B

Blue color component (0–255).

Declaration

cs-api-definition
public byte B { get; }

Property Value

byte

The blue component value.

G

Green color component (0–255).

Declaration

cs-api-definition
public byte G { get; }

Property Value

byte

The green component value.

R

Red color component (0–255).

Declaration

cs-api-definition
public byte R { get; }

Property Value

byte

The red component value.

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with the current object.

Returns

bool

Returns true if the specified object is equal to the current object; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Serves as a hash function for a particular type.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides object.GetHashCode()