TDrawingColor.FromColor Method
Overloads
TDrawingColor.FromColor(TUIColor)
Returns a color class with a specified color. There is no real need to call this method, since conversion between TDrawingColor and TUIColor is implicit. You can just assign Color to this class and viceversa.
Syntax
Namespace: FlexCel.Core
public static TDrawingColor FromColor(TUIColor aColor)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
aColor | TUIColor | Color that we want to set. |
Returns
The corresponding system color.
See also
TDrawingColor.FromColor(TExcelColor, IFlexCelPalette)
Returns a color class with a specified color.
Syntax
Namespace: FlexCel.Core
public static TDrawingColor FromColor(TExcelColor aColor, IFlexCelPalette xls)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
aColor | TExcelColor | Color that we want to set. | |
xls | IFlexCelPalette | Workbook with the color information. |
Returns
The corresponding system color.