VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Html5.VisualTools Namespace / WebVisualToolJS type
In This Topic
    WebVisualToolJS type
    In This Topic
    Provides an abstract base class for visual tools such as the WebMagnifierToolJS or WebPanToolJS.
    Syntax
    // Parameters
    var viewer; // Type:  object
    
    var instance = new Vintasoft.Imaging.Html5.VisualTools.WebVisualToolJS(viewer);
    function WebVisualToolJS;
    Inheritance Hierarchy

    Object
       Vintasoft.Imaging.Html5.VisualTools.WebVisualToolJS

    Browser Compatibility
    9
    5
    11
    5
    Constructors
     NameDescription
    public ConstructorProvides an abstract base class for visual tools such as the WebMagnifierToolJS or WebPanToolJS.  
    Top
    Methods
     NameDescription
    public MethodGets the mouse button which executes the action of the visual tool.  
    public MethodGets a cursor which should be used in image viewer when visual tool executes its action.  
    public MethodGets a cursor which should be used in image viewer when visual tool is active in image viewer.  
    public MethodGets 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.  
    public MethodGets a value indicating whether visual tool can respond to user interaction.  
    public MethodGets the count of mouse clicks in series of clicks.  
    public MethodGets a delay, in milliseconds, between mouse clicks in series of clicks.  
    public MethodGets the name of visual tool.  
    public MethodGets the drawing box of visual tool.  
    public MethodResets the visual tool.  
    public MethodSets the mouse button which executes the action of the visual tool.  
    public MethodSets a cursor which should be used in image viewer when visual tool executes its action.  
    public MethodSets a cursor which should be used in image viewer when visual tool is active in image viewer.  
    public MethodSets 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.  
    public MethodSets a value indicating whether visual tool can respond to user interaction.  
    public MethodSets a delay, in milliseconds, between mouse clicks in series of clicks.  
    Top
    Events
     NameDescription
    public EventOccurs when the visual tool initialization is failed.  
    public EventOccurs when the visual tool initialization is finished.  
    public EventOccurs when the visual tool initialization is started.  
    public EventOccurs when the mouse pointer is over the image viewer, this tool is enabled and a mouse button is double clicked.  
    public EventOccurs when the mouse pointer is over the image viewer, this tool is enabled and a mouse button is pressed.  
    public EventOccurs when the mouse pointer is moved and this tool is enabled.  
    public EventOccurs when this tool is enabled and a mouse button is released.  
    Top
    See Also