GetWindowLevelCenter Method

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

Parameters

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

Remarks

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

  • To retrieve the window level center 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.