Occurs when the user changes the window-level values with the mouse using the WindowLevel action.
public event EventHandler<Medical3DWindowLevelEventArgs> WindowLevelChanged
Public Event WindowLevelChanged As EventHandler(Of Medical3DWindowLevelEventArgs)
public:
event EventHandler<Medical3DWindowLevelEventArgs^>^ WindowLevelChanged
The event handler receives an argument of type Medical3DWindowLevelEventArgs containing data related to this event. The following Medical3DWindowLevelEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Center | Gets the window-level center value. |
ObjectIndex | Gets the index of the object being affected by the window-level action. |
Width | Gets the window-level width value. |
To enable the Action, use the Leadtools.MedicalViewer.MedicalViewerBaseCell.AddAction(leadtools.medicalviewer.medicalvieweractiontype) method to add the action to the Medical3DControl. Then use the Leadtools.MedicalViewer.MedicalViewerBaseCell.SetAction(leadtools.medicalviewer.medicalvieweractiontype,leadtools.medicalviewer.medicalviewermousebuttons,leadtools.medicalviewer.medicalvieweractionflags) to associate the action with a mouse button.
For an example refer to Center
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET