public virtual bool IsValidForAction(
MedicalViewerActionType actionType,
MedicalViewerActionFlags applyingOperation
)
Public Overloads Overridable Function IsValidForAction( _
ByVal actionType As MedicalViewerActionType, _
ByVal applyingOperation As MedicalViewerActionFlags _
) As Boolean
public:
virtual bool IsValidForAction(
MedicalViewerActionType actionType,
MedicalViewerActionFlags applyingOperation
)
actionType
The action being tested.
applyingOperation
Flags that will be checked.
true if the applying operation is valid to be assigned to the action; otherwise, false.
To avoid exceptions being thrown, call this method to ensure that the mouse button can be assigned to the specified action before calling the SetAction method. For example, if Leadtools.MedicalViewer.MedicalViewerMouseButtons.Wheel is passed to the mouseButton parameter and MedicalViewerActionType.MagnifyGlass to the actionType parameter, the method will throw an exception. If the same values are passed as parameters to the IsValidForAction method, the method returns false, indicating that the mouse button cannot be used.
For an example, refer to Leadtools.MedicalViewer.MedicalViewer().
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document