←Select platform

GetWindowLevelCenter Method

Summary

Gets the window level center value for the image.

Syntax

C#
VB
C++
public virtual int GetWindowLevelCenter() 
  
Public Overridable Function GetWindowLevelCenter() As Integer 
             
            public: 
virtual int GetWindowLevelCenter();  
             

Remarks

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

  • If the cell has multiple frames, the retrieved center value is the center value of the selected sub-cell.
  • 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 MedicalViewerMultiCell.SetOffset

Requirements

Target Platforms

Help Version 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly