←Select platform

GrayscaleCommand Constructor(Int32)

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public GrayscaleCommand(  
   int bitsPerPixel 
) 
Public Function New( _ 
   ByVal bitsPerPixel As Integer _ 
) 
public GrayscaleCommand(  
   int bitsPerPixel 
) 
- (instancetype)initWithBitsPerPixel:(NSInteger)bitsPerPixel 
public GrayscaleCommand(int bitsPerPixel) 
function GrayscaleCommand(  
   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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize