VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Svg.VisualTools Namespace / WebZoomSelectionToolJS type / set_DisableContextMenu Method
True - image viewer must disable context menu in image viewer if the right mouse button is set as an action button of the visual tool; False - image viewer must not disable context menu in image viewer if the right mouse button is set as an action button of the visual tool. Default value is False.
In This Topic
    set_DisableContextMenu Method
    In This Topic
    Sets a value indicating whether image viewer must disable context menu in image viewer if the right mouse button is set as an action button of the visual tool.
    Syntax
    var instance = new Vintasoft.Imaging.Svg.VisualTools.WebZoomSelectionToolJS(viewer);
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type:  boolean
    
    returnValue = instance.set_DisableContextMenu(value);
    function set_DisableContextMenu( 
       value : boolean
    ) : any;

    Parameters

    value
    True - image viewer must disable context menu in image viewer if the right mouse button is set as an action button of the visual tool; False - image viewer must not disable context menu in image viewer if the right mouse button is set as an action button of the visual tool. Default value is False.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    9
    5
    15
    5
    See Also