Configure Automatic Placement of Annotations in Vizit Pro

A new feature added in Vizit 6.0 is the ability to configure annotations to be placed on the document at a predetermined location and size.

If you are not already familiar with Vizit Pro's Configuration Profiles, please see this KB article before continuing:

In particular, this will involve altering the actions in the Annotations tab of the toolbar. By default, this section looks like the following: 


titleKey: 'Annotations_tab_title', id: 'annotations', items: [ '', 'annotate.burn', '|', 'annotate.ellipse', 'annotate.line', 'annotate.polygon', 'annotate.freehand', 'annotate.highlighter', 'annotate.rectangle',


To configure one of those annotations to be placed at a specific location, you must use the following "options" syntax:


titleKey: 'Annotations_tab_title', id: 'annotations', items: [ '', 'annotate.burn', '|',
{ action: 'annotate.ellipse',
options: {
position: { x: 100, y: 200 },
size: { width: 500, height: 500 }
}, 'annotate.line', 'annotate.polygon', 'annotate.freehand', 'annotate.highlighter', 'annotate.rectangle',


Using the above code, when the user clicks on the "Ellipse" icon in the toolbar, a 500 pixel by 500 pixel ellipse (a circle) annotation will be placed in the upper left hand corner of the document - offset 100 pixels in from the left and 200 pixels from the top.

Have more questions? Submit a request


Article is closed for comments.
Powered by Zendesk