dxRGBQuadToColor(TRGBQuad) Method
In This Article
Converts a specified TRGBQuad value to the TColor type.
#Declaration
#Parameters
Name | Type |
---|---|
ARGB | TRGBQuad |
#Returns
Type |
---|
TColor |
#Remarks
This function obtains the red, green, and blue color component values from the rgbRed, rgbGreen, and rgbBlue fields of the TRGBQuad value passed as the ARGB parameter. The ARGB.rgbReserved field value is ignored.
Note
For reverse conversion (that is, from TColor to TRGBQuad) use the dx
See Also