Decomposes a color into red, green, and blue values.
Namespace: PPJ.RuntimeAssembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)
Syntax
C# |
---|
public static SalBoolean ColorToRGB( SalNumber nColor, ref SalNumber nRed, ref SalNumber nGreen, ref SalNumber nBlue ) |
Parameters
- nColor
- Type: PPJ.Runtime..::..SalNumber
A user-defined value or any of the predefined window colors (excluding COLOR_Default, COLOR_None, and the three COLOR_Sys* constants).
- nRed
- Type: PPJ.Runtime..::..SalNumber%
A number from 0 to 255 that represents the red value.
- nGreen
- Type: PPJ.Runtime..::..SalNumber%
A number from 0 to 255 that represents the green value.
- nBlue
- Type: PPJ.Runtime..::..SalNumber%
A number from 0 to 255 that represents the blue value.