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 > MedicalViewerMPRCell 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) 
Overrides Public Function CanExecuteAction( _
   ByVal actionType As MedicalViewerActionType _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerMPRCell
Dim actionType As MedicalViewerActionType
Dim value As Boolean
 
value = instance.CanExecuteAction(actionType)
C# 
public override bool CanExecuteAction( 
   MedicalViewerActionType actionType
)
C++/CLI 
public:
bool CanExecuteAction( 
   MedicalViewerActionType actionType
) override 

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 MPR Cell are:
    • Window Level
    • Scale
    • Offset
    • Stack
    • Magnify Glass
    • Annotation Ruler
    • Annotation Angle
    • Annotation Text
    • Annotation Arrow
    • Annotation Rectangle
    • Annotation Ellipse
    • Annotation Hilite
  • To enable the Action, use the method AddAction to add the action to the Medical Viewer Cell. 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