LEADTOOLS Medical (Leadtools.MedicalViewer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
MedicalViewerChangingWindowLevelEventArgs Constructor
See Also 
Leadtools.MedicalViewer Namespace > MedicalViewerChangingWindowLevelEventArgs Class : MedicalViewerChangingWindowLevelEventArgs Constructor



subCellIndex
a Zero-based index of the sub-cell that contains the image which to be affected by the window level action.
width
The new window width.
oldWidth
The previous window width.
center
The new window center.
oldCenter
The previous window width

The MedicalViewerChangingWindowLevelEventArgs Constructor is available as an add-on to the LEADTOOLS Medical Imaging toolkits.

Initializes a new instance of the MedicalViewerChangingWindowLevelEventArgs class with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal subCellIndex As Integer, _
   ByVal width As Integer, _
   ByVal oldWidth As Integer, _
   ByVal center As Integer, _
   ByVal oldCenter As Integer _
)
Visual Basic (Usage)Copy Code
Dim subCellIndex As Integer
Dim width As Integer
Dim oldWidth As Integer
Dim center As Integer
Dim oldCenter As Integer
 
Dim instance As New MedicalViewerChangingWindowLevelEventArgs(subCellIndex, width, oldWidth, center, oldCenter)
C# 
public MedicalViewerChangingWindowLevelEventArgs( 
   int subCellIndex,
   int width,
   int oldWidth,
   int center,
   int oldCenter
)
C++/CLI 
public:
MedicalViewerChangingWindowLevelEventArgs( 
   int subCellIndex,
   int width,
   int oldWidth,
   int center,
   int oldCenter
)

Parameters

subCellIndex
a Zero-based index of the sub-cell that contains the image which to be affected by the window level action.
width
The new window width.
oldWidth
The previous window width.
center
The new window center.
oldCenter
The previous window width

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.MedicalViewer requires a Medical Imaging license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features