VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI.VisualTools Namespace / WebCompositeVisualToolJS type / getTool Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    getTool Method
    In This Topic
    Returns the visual tool at the specified index.
    Syntax
    var instance = new Vintasoft.Imaging.UI.VisualTools.WebCompositeVisualToolJS(visualTools);
    
    var value; // Type: Vintasoft.Imaging.UI.VisualTools.WebVisualToolJS
    
    // Parameters
    var index; // Type: number
    
    value = instance.getTool(index);
    
    
    function getTool(
    index
    Zero-based index of visual tools.
    : number
    ) : WebVisualToolJS;

    Parameters

    index
    Zero-based index of visual tools.

    Return Value

    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if index is less than zero or index is greater than visual tools collection length.
    Browser Compatibility
    56+
    45+
    11
    See Also