←Select platform

GrayscaleCommand Constructor(int)

Summary

Initializes a new instance of the GrayscaleCommand class with explicit parameters.

Syntax
C#
VB
Java
Objective-C
C++
Public Function New( _ 
   ByVal bitsPerPixel As Integer _ 
) 
- (instancetype)initWithBitsPerPixel:(NSInteger)bitsPerPixel 
public GrayscaleCommand(int bitsPerPixel) 
public: 
GrayscaleCommand(  
   int bitsPerPixel 
) 

Parameters

bitsPerPixel
Value indicating the number of bits in the destination image. Valid values are 8, 12, or 16.

Example

For an example, refer to GrayscaleCommand.

Requirements

Target Platforms

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

Leadtools Assembly