GM_ConstantsRGB_TO_GRAY Method (Int32, Int32, Int32) |
Convert RGB colors (or COLORREF) to a gray value
Namespace:
GlobalMapper
Assembly:
GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax public static Color RGB_TO_GRAY(
int r,
int g,
int b
)
Parameters
- r
- Type: SystemInt32
Red Value - g
- Type: SystemInt32
Green Value - b
- Type: SystemInt32
Blue Value
Return Value
Type:
ColorThe Color in Grayscale
See Also