GetWindowLevelWidth Method

Summary
Gets the window level width value for the image.
Syntax
C#
VB
C++
public int GetWindowLevelWidth( 
   int subCellIndex 
) 
  
Public Overloads Function GetWindowLevelWidth( _ 
   ByVal subCellIndex As Integer _ 
) As Integer 
            public: 
int GetWindowLevelWidth(  
   int subCellIndex 
)  

Parameters

subCellIndex
Zero-based index of sub-cell that contains the image whose window level width value will be retrieved.

Remarks

Sending this instance is a must, otherwise, the custom annotation creation will fail.

  • To retrieve the window level width value of the selected sub-cell, either pass its sub-cell index or pass -2.
  • 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

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.