Leadtools Namespace > RasterImage Class : GrayscaleMode Property |
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(); }
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.
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