ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearRGBQuad Structure / IsGray Method / IsGray(Byte) Method
Gray color value.




In This Topic
    IsGray(Byte) Method
    In This Topic
    This method checks whether the RGB value is both grayscale and equal to specified value, i.e., Red = Green = Blue = value.
    Syntax
    'Declaration
     
    Public Overloads Function IsGray( _
       ByVal value As Byte _
    ) As Boolean
    'Usage
     
    Dim instance As ImGearRGBQuad
    Dim value As Byte
    Dim value As Boolean
     
    value = instance.IsGray(value)
    public bool IsGray( 
       byte value
    )
    public: bool IsGray( 
       byte value
    ) 
    public:
    bool IsGray( 
       byte value
    ) 

    Parameters

    value
    Gray color value.

    Return Value

    Boolean value.
    See Also