←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(  
   Leadtools.Medicalviewer.MedicalViewerActionType actionType 
) 
Public Overrides Function CanExecuteAction( _ 
   ByVal actionType As Leadtools.Medicalviewer.MedicalViewerActionType _ 
) As Boolean 
public: 
bool CanExecuteAction(  
   Leadtools.Medicalviewer.MedicalViewerActionType actionType 
) override 

Parameters

actionType** 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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Medical3D Assembly
Click or drag to resize