VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Annotation.Svg Namespace / WebAnnotationVisualToolJS type
In This Topic
    WebAnnotationVisualToolJS type
    In This Topic
    Visual tool that allows to annotate images.
    Syntax
    // Parameters
    var viewer; // Type:  object
    
    var instance = new Vintasoft.Imaging.Annotation.Svg.WebAnnotationVisualToolJS(viewer);
    function WebAnnotationVisualToolJS;
    Inheritance Hierarchy

    Object
       Vintasoft.Imaging.Annotation.Svg.WebAnnotationVisualToolJS

    Browser Compatibility
    9
    5
    15
    5
    Constructors
     NameDescription
    public ConstructorVisual tool that allows to annotate images.  
    Top
    Fields
     NameDescription
    public Fieldstatic (Shared in Visual Basic)  
    Top
    Methods
     NameDescription
    public MethodAdds annotation to the annotation collection of focused image and starts building of annotation.  
    public MethodCancels building of annotation.  
    public MethodFinds an annotation view at specified point, in the image viewer space.  
    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 the interaction mode that defines how user can interact with annotations.  
    public MethodGets an annotation collection that will be viewed and edited using the visual tool.  
    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 the focused annotation view.  
    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 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 the interaction mode that defines how user can interact with annotations.  
    public MethodSets an annotation collection that will be viewed and edited using the visual tool.  
    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 the focused annotation view.  
    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.  
    public MethodSets the focused annotation view specified by index.  
    Top
    Events
     NameDescription
    public EventOccurs when annotation building is canceled.  
    public EventOccurs when annotation building is finished.  
    public EventOccurs when annotation building is started.  
    public EventOccurs when annotation interaction mode is changed.  
    public EventOccurs when focused annotation in visual tool is changed.  
    public EventOccurs when index of focused annotation collection is changed.  
    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