VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebDocumentViewerBaseJS type / getVisualToolById Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    getVisualToolById Method
    In This Topic
    Returns visual tool by ID of the visual tool type.
    Syntax
    var instance = new Vintasoft.Imaging.UI.WebDocumentViewerBaseJS(settings);
    
    var value; // Type: Vintasoft.Imaging.UI.VisualTools.WebVisualToolJS
    
    // Parameters
    var id; // Type: string
    
    value = instance.getVisualToolById(id);
    
    
    function getVisualToolById(
    id
    The ID of the visual tool type.
    : string
    ) : WebVisualToolJS;

    Parameters

    id
    The ID of the visual tool type.

    Return Value

    An instance of WebVisualToolJS class.
    Exceptions
    ExceptionDescription
    Thrown if WebVisualToolJS element with specified ID is not found OR cannot be created.
    Browser Compatibility
    56+
    45+
    11
    See Also