The GetActionButton Method is available as an add-on to the LEADTOOLS Medical Imaging toolkits.
- actionType
- The action for which the mouse button information is being obtained.
Visual Basic (Declaration) | |
---|---|
Public Overridable Function GetActionButton( _ ByVal actionType As MedicalViewerActionType _ ) As MedicalViewerMouseButtons |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim actionType As MedicalViewerActionType Dim value As MedicalViewerMouseButtons value = instance.GetActionButton(actionType) |
C# | |
---|---|
public virtual MedicalViewerMouseButtons GetActionButton( MedicalViewerActionType actionType ) |
C++/CLI | |
---|---|
public: virtual MedicalViewerMouseButtons GetActionButton( MedicalViewerActionType actionType ) |
Parameters
- actionType
- The action for which the mouse button information is being obtained.
Return Value
Leadtools.MedicalViewer.MedicalViewerMouseButtons enumeration value that represents the assigned mouse button.For an example, refer to Leadtools.MedicalViewer.MedicalViewer().
To assign a mouse button to a specific action, call the Leadtools.MedicalViewer.MedicalViewerBaseCell.SetAction(Leadtools.MedicalViewer.MedicalViewerActionType,Leadtools.MedicalViewer.MedicalViewerMouseButtons,Leadtools.MedicalViewer.MedicalViewerActionFlags) method.
For more information, refer to Applying Actions.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7