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



Determines whether the image has a grayscale byte order. Supported in Silverlight, Windows Phone 7

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();
}

Property 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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also