CanExecuteAction Method

Summary
A method that is used to determine whether the action
actionType
can be executed in the Medical Viewer Cell.
Syntax
C#
VB
C++
public virtual bool CanExecuteAction( 
   MedicalViewerActionType actionType 
) 
  
Public Overridable Function CanExecuteAction( _ 
   ByVal actionType As MedicalViewerActionType _ 
) As Boolean 
            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 AddAction method to add the action to the Medical Viewer Cell. Then use the SetAction method to associate the with a mouse button.
Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.