The MedicalViewerRegion Class is available as an add-on to the LEADTOOLS Medical Imaging toolkits.
Represents the class that contains the properties of the region actions.![](dotnetdiagramimages/Leadtools_MedicalViewer_Leadtools_MedicalViewer_MedicalViewerRegion.png)
Visual Basic (Declaration) | |
---|---|
Public Class MedicalViewerRegion Inherits MedicalViewerBaseAction |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As MedicalViewerRegion |
C# | |
---|---|
public class MedicalViewerRegion : MedicalViewerBaseAction |
C++/CLI | |
---|---|
public ref class MedicalViewerRegion : public MedicalViewerBaseAction |
This class is used when setting or getting the properties of the following actions:
- RectangleRegion
- EllipseRegion
- FreeHandRegion
- PolygonRegion
- MagicWandRegion
- ColorRangeRegion
- CircleRegion
- SquareRegion
To set the properties call the MedicalViewerBaseCell.SetActionProperties method, and to retrieve the properties call the MedicalViewerBaseCell.GetActionProperties method. To create the rectangle, ellipse, square, circle or freehand region, click and drag the mouse. To create a polygon region, click on each point and after finishing the shape double-click to end the action and to complete the region.
To create a magic wand region, click and hold the mouse to start the effect and to assign the point that will be used as the starting point and color for the magic wand. When the assigned mouse button is released the action ends. Dragging the mouse down increases the threshold of variation allowed from the selected color. Dragging the mouse up decreases the threshold of variation allowed from the selected color.
To create a color range region, click and hold the mouse to start the effect. When the assigned mouse button is released the action ends. Dragging the mouse left/right increases/decreases the lower tolerance. Dragging the mouse up/down increases/decreases the upper tolerance.
System.Object
Leadtools.MedicalViewer.MedicalViewerBaseAction
Leadtools.MedicalViewer.MedicalViewerRegion
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7