Leadtools.MedicalViewer Requires Medical Imaging license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
MedicalViewerRegion Class
See Also  Members  
Leadtools.MedicalViewer Namespace : MedicalViewerRegion Class



Represents the class that contains the properties of the region actions.

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 _ctor

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 SetActionProperties method, and to retrieve the properties call the 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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