Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
IsGray Property
See Also 
Leadtools Namespace > RasterImage Class : IsGray Property



Determines whether the image has a grayscale byte order.

Syntax

Visual Basic (Declaration)  
Public ReadOnly Property IsGray As Boolean
Visual Basic (Usage) Copy Code
Dim instance As RasterImage
Dim value As Boolean
 
value = instance.IsGray
C#  
public bool IsGray {get;}
C++/CLI  
public:
property bool IsGray {
   bool get();
}

Return Value

true if the image has a grayscale byte order, otherwise; false.

Remarks

This property is used internally by LEADTOOLS and checks if the image has a grayscale byte order.

To determine if the image data is grayscale, use the GrayscaleMode property.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also