CanExecuteAction Method

Summary

A method that is used to determine whether the action

actionType
can be executed in the Medical3DControl.

Syntax
C#
VB
C++
public override bool CanExecuteAction( 
   MedicalViewerActionType actionType 
) 
  
Public Overrides Function CanExecuteAction( _ 
   ByVal actionType As MedicalViewerActionType _ 
) As Boolean 
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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical3D Assembly