LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

GrayscaleMode Property






Determines if this RasterImage is a grayscale image. .NET support Silverlight support WinRT support
Syntax
public RasterGrayscaleMode GrayscaleMode {get;}
'Declaration
 
Public ReadOnly Property GrayscaleMode As RasterGrayscaleMode
'Usage
 
Dim instance As RasterImage
Dim value As RasterGrayscaleMode
 
value = instance.GrayscaleMode
public RasterGrayscaleMode GrayscaleMode {get;}
 get_GrayscaleMode(); 
public:
property RasterGrayscaleMode GrayscaleMode {
   RasterGrayscaleMode get();
}

Property Value

A RasterGrayscaleMode enumeration member to determine if this RasterImage is a grayscale image.
Remarks

Use this property to determine if the data inside this RasterImage object is grayscale before calling methods and properties that rely on grayscale data.

For more information, refer to Grayscale Images.

Example
For an example, refer to Leadtools.ImageProcessing.GrayscaleCommand.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterImage Class
RasterImage Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.