LEADTOOLS Medical (Leadtools.MedicalViewer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
GetActionButton Method
See Also 
Leadtools.MedicalViewer Namespace > MedicalViewerBaseCell Class : GetActionButton Method



actionType
The action for which the mouse button information is being obtained.

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.
Retrieves the mouse button associated with the specified action.

Syntax

Visual Basic (Declaration) 
Public Overridable Function GetActionButton( _
   ByVal actionType As MedicalViewerActionType _
) As MedicalViewerMouseButtons
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerBaseCell
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

MedicalViewerMouseButtons enumeration value that represents the assigned mouse button.

Example

For an example, refer to Leadtools.MedicalViewer.MedicalViewer().

Remarks

To assign a mouse button to a specific action, call the SetAction method.

For more information, refer to Applying Actions.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.MedicalViewer requires a Medical Imaging license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features