←Select platform

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

Leadtools.MedicalViewer Assembly