←Select platform

GrayscaleMode Property

Summary

Determines if this RasterImage is a grayscale image.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public RasterGrayscaleMode GrayscaleMode { get; } 
Public ReadOnly Property GrayscaleMode As Leadtools.RasterGrayscaleMode 
public Leadtools.RasterGrayscaleMode GrayscaleMode {get;} 
@property (nonatomic, assign, readonly) LTRasterGrayscaleMode grayscaleMode 
public RasterGrayscaleMode getGrayscaleMode() 
 get_GrayscaleMode();  
public: 
property Leadtools.RasterGrayscaleMode GrayscaleMode { 
   Leadtools.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly