VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebAnnotationViewerJS type / set_VisualTool Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_VisualTool Method
    In This Topic
    Sets the current visual tool of the viewer.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.UI.WebAnnotationViewerJS(controlId);
    
    var returnValue; // Type: any
    
    // Parameters
    var tool; // Type: WebVisualToolJS
    
    returnValue = instance.set_VisualTool(tool);
    
    
    function set_VisualTool(
    tool
    WebVisualToolJS object. Default value is AnnotationVisualTool value.
    : WebVisualToolJS
    ) : any;

    Parameters

    tool
    WebVisualToolJS object. Default value is AnnotationVisualTool value.
    Exceptions
    ExceptionDescription
    Thrown if specified visual tool contains an annotation visual tool that differs from the AnnotationVisualTool value.
    Browser Compatibility
    56+
    45+
    11
    See Also