TExcelColor.FromArgb Method
Overloads
- TExcelColor.FromArgb(Int32)
- TExcelColor.FromArgb(Int32, Double)
- TExcelColor.FromArgb(Byte, Byte, Byte)
- TExcelColor.FromArgb(Byte, Byte, Byte, Double)
TExcelColor.FromArgb(Int32)
Returns a Color class with the specified rgb color.
Syntax
Namespace: FlexCel.Core
public static TExcelColor FromArgb(Int32 argb)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
argb | Int32 | Color to set. |
See also
TExcelColor.FromArgb(Int32, Double)
Returns a Color class with the specified rgb color and with the specified tint.
Syntax
Namespace: FlexCel.Core
public static TExcelColor FromArgb(Int32 argb, Double tint)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
argb | Int32 | Color to set. | |
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
Namespace: FlexCel.Core
public static TExcelColor FromArgb(Byte r, Byte g, Byte b)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
r | Byte | Red component of the color. | |
g | Byte | Green component of the color. | |
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
Namespace: FlexCel.Core
public static TExcelColor FromArgb(Byte r, Byte g, Byte b, Double tint)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
r | Byte | Red component of the color. | |
g | Byte | Green component of the color. | |
b | Byte | Blue component of the color. | |
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. |