←Select platform

CreateGrayscaleImageCommand Constructor(int,int,int)

Summary
Initializes a new instance of the CreateGrayscaleImageCommand class with explicit parameters.
Syntax
C#
VB
Objective-C
C++
Java
Public Function New( _ 
   ByVal bitsPerPixel As Integer, _ 
   ByVal lowBit As Integer, _ 
   ByVal highBit As Integer _ 
) 
- (instancetype)initWithBitsPerPixel:(NSInteger)bitsPerPixel  
                              lowBit:(NSInteger)low  
                             highBit:(NSInteger)high 
public CreateGrayscaleImageCommand( 
   int bitsPerPixel,  
   int lowBit,  
   int highBit 
) 
public: 
CreateGrayscaleImageCommand(  
   int bitsPerPixel, 
   int lowBit, 
   int highBit 
) 

Parameters

bitsPerPixel
Value that indicates the number of bits for the destination image. Valid values are 8, 12, or 16.

lowBit
Value that indicates the low bit used for window leveling when the bitsPerPixel is 12 or 16.

highBit
Value that indicates the high bit used for window leveling when the bitsPerPixel is 12 or 16.

Example

For an example, refer to CreateGrayscaleImageCommand.

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.