←Select platform

GrayscaleMode Property

Summary
Determines if this RasterImage is a grayscale image.
Syntax
C#
VB
Objective-C
C++
Java
public RasterGrayscaleMode GrayscaleMode { get; } 
Public ReadOnly Property GrayscaleMode As RasterGrayscaleMode 
@property (nonatomic, assign, readonly) LTRasterGrayscaleMode grayscaleMode 
public RasterGrayscaleMode getGrayscaleMode() 
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 GrayscaleCommand.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.