Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property GrayscaleMode As RasterGrayscaleMode |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public RasterGrayscaleMode GrayscaleMode {get;} |
C++/CLI | |
---|---|
public: property RasterGrayscaleMode GrayscaleMode { RasterGrayscaleMode get(); } |
Return Value
A RasterGrayscaleMode enumeration member to determine if this RasterImage is a grayscale image.For an example, refer to GrayscaleCommand.
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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family