TExcelColor.FromArgb Method
Overloads
- TExcelColor.FromArgb(Integer)
- TExcelColor.FromArgb(Integer, Double)
- TExcelColor.FromArgb(Byte, Byte, Byte)
- TExcelColor.FromArgb(Byte, Byte, Byte, Double)
TExcelColor.FromArgb(Integer)
Returns a Color class with the specified rgb color.
Syntax
Unit: FlexCel.Core
class function TExcelColor.FromArgb(const argb: Integer): TExcelColor; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | argb | Integer | Color to set. |
See also
TExcelColor.FromArgb(Integer, Double)
Returns a Color class with the specified rgb color and with the specified tint.
Syntax
Unit: FlexCel.Core
class function TExcelColor.FromArgb(const argb: Integer; const tint: Double): TExcelColor; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | argb | Integer | Color to set. |
const | tint | Double | Tint for the color. If you try to set a value less than -1 it will be stored as -1, and values bigger than 1 as 1. No exceptions will be raised. |
See also
TExcelColor.FromArgb(Byte, Byte, Byte)
Returns a Color class with the specified rgb color and with the 0 tint.
Syntax
Unit: FlexCel.Core
class function TExcelColor.FromArgb(const r: Byte; const g: Byte; const b: Byte): TExcelColor; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | r | Byte | Red component of the color. |
const | g | Byte | Green component of the color. |
const | b | Byte | Blue component of the color. |
See also
TExcelColor.FromArgb(Byte, Byte, Byte, Double)
Returns a Color class with the specified rgb color and with the specified tint.
Syntax
Unit: FlexCel.Core
class function TExcelColor.FromArgb(const r: Byte; const g: Byte; const b: Byte; const tint: Double): TExcelColor; static; overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | r | Byte | Red component of the color. |
const | g | Byte | Green component of the color. |
const | b | Byte | Blue component of the color. |
const | tint | Double | Tint for the color. If you try to set a value less than -1 it will be stored as -1, and values bigger than 1 as 1. No exceptions will be raised. |