VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Dicom.Mpr.Wpf.UI.VisualTools Namespace / WpfMprImageTool Class / SetInteractionMode(VintasoftMouseButtons,WpfMprImageToolInteractionMode) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    SetInteractionMode(VintasoftMouseButtons,WpfMprImageToolInteractionMode) Method (WpfMprImageTool)
    In This Topic
    Changes the interaction mode for specified mouse button.
    Syntax
    'Declaration
    
    Public Sub SetInteractionMode( _
    ByVal button
    The mouse button.
    As Vintasoft.Imaging.UI.VintasoftMouseButtons, _
    ByVal mode
    The interaction mode, which must be activated when mouse button, which is specified by button parameter, is activated.
    As WpfMprImageToolInteractionMode _
    )

    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: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also