←Select platform

GrayscaleCommand Constructor(int)

Summary

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

Syntax
C#
VB
Objective-C
C++
Java
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.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly