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.| 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
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7