ImageGear .NET v24.12 - Updated
IsGray(Byte) Method




ImageGear24.Core Assembly > ImageGear.Core Namespace > ImGearRGBQuad Structure > IsGray Method : IsGray(Byte) Method
Gray color value.
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

Reference

ImGearRGBQuad Structure
ImGearRGBQuad Members
Overload List