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



actionType
The action being tested.
mouseButton
The mouse button that will be checked.
applyingOperation
Flags that will be checked.

The IsValidForAction(MedicalViewerActionType,MedicalViewerMouseButtons,MedicalViewerActionFlags) Method is available as an add-on to the LEADTOOLS Medical Imaging toolkits.

actionType
The action being tested.
mouseButton
The mouse button that will be checked.
applyingOperation
Flags that will be checked.
Determines whether the specified mouse button and applying operation can be set to the specified action.

Syntax

Visual Basic (Declaration) 
Overloads Public Overridable Function IsValidForAction( _
   ByVal actionType As MedicalViewerActionType, _
   ByVal mouseButton As MedicalViewerMouseButtons, _
   ByVal applyingOperation As MedicalViewerActionFlags _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerBaseCell
Dim actionType As MedicalViewerActionType
Dim mouseButton As MedicalViewerMouseButtons
Dim applyingOperation As MedicalViewerActionFlags
Dim value As Boolean
 
value = instance.IsValidForAction(actionType, mouseButton, applyingOperation)

Parameters

actionType
The action being tested.
mouseButton
The mouse button that will be checked.
applyingOperation
Flags that will be checked.

Return Value

true if the mouse button and the flags are valid to be assigned to the action; otherwise, false.

Example

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

Remarks

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