←Select platform

CreateGrayscaleImageCommand Constructor(Int32,Int32,Int32)

Summary

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

Syntax

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

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