ImageGear v26.5 - Updated March 3, 2025
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)

Parameters

value
Gray color value.

Return Value

Boolean value.
See Also