GM_Constants .RGB_TO_GRAY Method (Int32, Int32, Int32)
Convert RGB colors (or COLORREF) to a gray value

Namespace:GlobalMapper.Types
Assembly:  GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
C#
                                    public
                                    static
                                    Color
                                    RGB_TO_GRAY
                                    (
                                    int
                                    r
                                    ,
                                    int
                                    g
                                    ,
                                    int
                                    b
)
                                

Parameters

r
Type:  System . Int32
Red Value
g
Type:  System . Int32
Green Value
b
Type:  System . Int32
Blue Value

Return Value

Type:  Color
The Color in Grayscale
See Also