←Select platform

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly