VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI.VisualTools Namespace / WebVisualToolJS type / set_DisableContextMenu Property
Syntax Exceptions BrowserCompatibility SeeAlso
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.UI.VisualTools.WebVisualToolJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: boolean
    
    returnValue = instance.set_DisableContextMenu(value);
    
    
    function set_DisableContextMenu(
    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.
    : 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.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    56+
    45+
    11
    See Also