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



actionType
MedicalViewerActionTypethat represents the action which will be tested if it can be executed in the Medical Viewer Cell.
actionType
MedicalViewerActionTypethat represents the action which will be tested if it can be executed in the Medical Viewer Cell.
A method that is used to determine whether the action actionType can be executed in the Medical Viewer Cell.

Syntax

Visual Basic (Declaration) 
Public Overridable Function CanExecuteAction( _
   ByVal actionType As MedicalViewerActionType _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerBaseCell
Dim actionType As MedicalViewerActionType
Dim value As Boolean
 
value = instance.CanExecuteAction(actionType)
C# 
public virtual bool CanExecuteAction( 
   MedicalViewerActionType actionType
)
C++/CLI 
public:
virtual bool CanExecuteAction( 
   MedicalViewerActionType actionType
) 

Parameters

actionType
MedicalViewerActionTypethat represents the action which will be tested if it can be executed in the Medical Viewer Cell.

Remarks

  • Currently that action that can be executed in the Medical Viewer Cell are:
    • Window Level
    • Scale
    • Offset
    • Stack
    • Magnify Glass
    • Alpha
    • Annotation Ruler
    • Annotation Angle
    • Annotation Text
    • Annotation Arrow
    • Annotation Rectangle
    • Annotation Ellipse
    • Annotation Hilite
    • Rectangle Region
    • Ellipse Region
    • Free Hand Region
    • Polygon Region
    • Magic Wand Region
    • Color Range Region
    • Circle Region
    • Square Region
    • Nudge Tool
    • Shrink Tool
    • Cut Plane
    • Double Cut Plane
  • To enable the Action, use the method AddAction to add the action to the Medical Viewer Cell, then use the method SetAction to associate the with a mouse button.

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