Determines whether the specified operation can be applied to the specified action.
public virtual bool IsValidForAction(
Leadtools.Medicalviewer.MedicalViewerActionType actionType,
Leadtools.Medicalviewer.MedicalViewerActionFlags applyingOperation
)
Public Overloads Overridable Function IsValidForAction( _
ByVal actionType As Leadtools.Medicalviewer.MedicalViewerActionType, _
ByVal applyingOperation As Leadtools.Medicalviewer.MedicalViewerActionFlags _
) As Boolean
public:
virtual bool IsValidForAction(
Leadtools.Medicalviewer.MedicalViewerActionType actionType,
Leadtools.Medicalviewer.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().
Products |
Support |
Feedback: IsValidForAction(MedicalViewerActionType,MedicalViewerActionFlags) Method - Leadtools.MedicalViewer |
Introduction |
Help Version 19.0.2017.3.24
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.