←Select platform

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 Leadtools.Medicalviewer.MedicalViewerActionType _ 
) As Boolean 
public: 
bool CanExecuteAction(  
   Leadtools.Medicalviewer.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical3D Assembly