VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI.VisualTools Namespace / WebCompositeVisualToolJS type / set_ActiveVisualTool Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_ActiveVisualTool Method
    In This Topic
    Sets the active visual tool.
    Syntax
    var instance = new Vintasoft.Imaging.UI.VisualTools.WebCompositeVisualToolJS(visualTools);
    
    var returnValue; // Type: any
    
    // Parameters
    var tool; // Type: WebVisualToolJS
    
    returnValue = instance.set_ActiveVisualTool(tool);
    
    
    function set_ActiveVisualTool(
    tool
    WebVisualToolJS object that should be used as active visual tool.
    : WebVisualToolJS
    ) : any;

    Parameters

    tool
    WebVisualToolJS object that should be used as active visual tool.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if visual tools collection does not contain specified visual tool.
    Browser Compatibility
    56+
    45+
    11
    See Also