Click or drag to resize

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
C#
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: Color
The Color in Grayscale
See Also