Leadtools.MedicalViewer Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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 
Managed Extensions for C++ 
public __gc class MedicalViewerRegion : public 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 for the magic wand. When the assigned mouse button is released the action ends. Dragging the mouse down increases the magic wand threshold. Dragging the mouse up decreases the magic wand threshold.

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 toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features