| lcColorToVal | Home |
|
BOOL lcColorToVal ( LPCWSTR szColor, int* pbRGB, int* pIndex, int* pRed, int* pGreen, int* pBlue ); |
| szColor | |
| Color value as string. | |
| pbRGB | |
|
Pointer to variable that will receive "RGB" flag of the color. If received value is TRUE, then color is RGB color, if FALSE - index in color palette. | |
| pIndex | |
|
Pointer to variable that will receive color index. The received value will be
valid only for indexed color (bRGB=FALSE). The index value can be from 0 to 256, where 0 is "ByBlock" and 256 is "ByLayer" colors. | |
| pRed pGreen pBlue | |
| Pointers to variables that will receive Red, Green, Blue values of the color. | |
| If the function succeeds, the return value is nonzero (TRUE). |
| Colors |