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



actionType
The action to be assigned.
mouseButton
The Mouse event to be associated with the specified action.
applyingOperation
Indicates the cells that the action is applied to and when the action is applied.

The SetAction Method is available as an add-on to the LEADTOOLS Medical Imaging toolkits.

actionType
The action to be assigned.
mouseButton
The Mouse event to be associated with the specified action.
applyingOperation
Indicates the cells that the action is applied to and when the action is applied.
Assigns the action to a specific mouse button.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub SetAction( _
   ByVal actionType As MedicalViewerActionType, _
   ByVal mouseButton As MedicalViewerMouseButtons, _
   ByVal applyingOperation As MedicalViewerActionFlags _
) 
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerBaseCell
Dim actionType As MedicalViewerActionType
Dim mouseButton As MedicalViewerMouseButtons
Dim applyingOperation As MedicalViewerActionFlags
 
instance.SetAction(actionType, mouseButton, applyingOperation)

Parameters

actionType
The action to be assigned.
mouseButton
The Mouse event to be associated with the specified action.
applyingOperation
Indicates the cells that the action is applied to and when the action is applied.

Example

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

Remarks

For more information, refer to Applying Actions and Creating a Bitmap Region.

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