VintaSoft Imaging .NET SDK v8.8 for .NET Framework
Vintasoft.Imaging.Dicom.Mpr.Wpf.UI.VisualTools Namespace / WpfMprImageTool Class / SetInteractionMode Method
The mouse button.
The interaction mode, which must be activated when mouse button, which is specified by button parameter, is activated.



In This Topic
    SetInteractionMode Method (WpfMprImageTool)
    In This Topic
    Changes the interaction mode for specified mouse button.
    Syntax
    'Declaration
     
    Public Sub SetInteractionMode( _
       ByVal button As VintasoftMouseButtons, _
       ByVal mode As WpfMprImageToolInteractionMode _
    ) 
    public void SetInteractionMode( 
       VintasoftMouseButtons button,
       WpfMprImageToolInteractionMode mode
    )
    public: void SetInteractionMode( 
       VintasoftMouseButtons button,
       WpfMprImageToolInteractionMode mode
    ) 
    public:
    void SetInteractionMode( 
       VintasoftMouseButtons button,
       WpfMprImageToolInteractionMode mode
    ) 

    Parameters

    button
    The mouse button.
    mode
    The interaction mode, which must be activated when mouse button, which is specified by button parameter, is activated.
    Exceptions
    ExceptionDescription
    Thrown if button specifies several mouse buttons.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also