- actionType
- Leadtools.MedicalViewer.MedicalViewerActionTypethat represents the action which will be tested if it can be executed in the Medical3DControl
Visual Basic (Declaration) | |
---|---|
Overrides Public Function CanExecuteAction( _ ByVal actionType As MedicalViewerActionType _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim actionType As MedicalViewerActionType Dim value As Boolean value = instance.CanExecuteAction(actionType) |
C# | |
---|---|
public override bool CanExecuteAction( MedicalViewerActionType actionType ) |
C++/CLI | |
---|---|
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
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7