CanExecuteAction Method

Summary
A method that is used to determine whether the action
actionType
can be executed in the Medical3DControl.
Syntax
C#
C++/CLI
public override bool CanExecuteAction( 
   MedicalViewerActionType actionType 
) 
public: 
bool CanExecuteAction(  
   MedicalViewerActionType actionType 
) override  

Parameters

actionType
Leadtools.MedicalViewer.MedicalViewerActionTypethat represents the action which will be tested if it can be executed in the Medical3DControl

Remarks

Currently that action that can be executed in the Medical3DControl are:

  • Window level
  • Rotate 3D Object
  • Offset
  • Scale 3D Object
  • Rotate 3D Camera
  • Translate 3D Camera
  • Scale
  • Translate Plane
  • Rotate Plane

To enable the Action, use the Leadtools.MedicalViewer.MedicalViewerBaseCell.AddAction(Leadtools.MedicalViewer.MedicalViewerActionType) method to add the action to the Medical3DControl. Then use the Leadtools.MedicalViewer.MedicalViewerBaseCell.SetAction(Leadtools.MedicalViewer.MedicalViewerActionType,Leadtools.MedicalViewer.MedicalViewerMouseButtons,Leadtools.MedicalViewer.MedicalViewerActionFlags) to associate the action with a mouse button.

Requirements

Target Platforms

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

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