←Select platform

SetWindowLevel(Int32,Int32,Int32) Method

Summary

Sets the window level width and center values for the image.

Syntax

C#
VB
C++
public void SetWindowLevel(  
   int subCellIndex, 
   int width, 
   int center 
) 
Public Overloads Sub SetWindowLevel( _ 
   ByVal subCellIndex As Integer, _ 
   ByVal width As Integer, _ 
   ByVal center As Integer _ 
) 
public: 
void SetWindowLevel(  
   int subCellIndex, 
   int width, 
   int center 
) 

Parameters

subCellIndex
A zero-based index of the sub-cell that contains the image that will have its window level changed.

width
A System.Int32 value that represents the new window level width value.

center
A System.Int32 value that represents the new window level center value.

Remarks
  • If the cell has multiple frames, the width and center values will be applied to all of them.
  • To change the window level using the mouse button, use the AddAction method to add the action to the Medical Viewer Cell. Then use the SetAction method to associate the window level action with a mouse button.
Example

For an example, refer to SetOffset(Int32,Double,Double).

Requirements

Target Platforms

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