Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
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;}
Managed Extensions for C++ 
public: __property bool get_IsGray();
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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also