TDrawingColor.GetComponents Method
Returns R, G and B components of the color. If this is a theme or indexed color, it will be converted to RGB before getting the components.
Syntax
Namespace: FlexCel.Core
public void GetComponents(ExcelFile xls, out Byte R, out Byte G, out Byte B)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
xls | ExcelFile | ExcelFile that will be used to know the palette and themes of the file for indexed/themed colors. | |
out | R | Byte | Returns the red component of the color. |
out | G | Byte | Returns the green component of the color. |
out | B | Byte | Returns the blue component of the color. |