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



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.

Object Model

MedicalViewerRegion Class

Syntax

Visual Basic (Declaration) 
Public Class MedicalViewerRegion 
   Inherits MedicalViewerBaseAction
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerRegion
C# 
public class MedicalViewerRegion : MedicalViewerBaseAction 
C++/CLI 
public ref class MedicalViewerRegion : public MedicalViewerBaseAction 

Example

For an example, refer to MedicalViewerRegion()

Remarks

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.

Inheritance Hierarchy

System.Object
   Leadtools.MedicalViewer.MedicalViewerBaseAction
      Leadtools.MedicalViewer.MedicalViewerRegion

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