|
|
Browse by Tags
All Tags » JavaScript » WebAnnotationViewer
-
I have checked the Custom Triangle Annotation in the windows application. I would like to have the Triangle Annotation in the Web Application. I copied the Custom Triangle annotation related file to the Web Application and made changes as per the Hilite custom annotation, but it does not work.
Please let me know how to achieve this.
-
You could use an if - else block and a tooltip to do this:
On the server side, set all redaction tooltips to ''redaction'', and on the client side:
function OnAnnotationRightClicked(e){ if (e.annotation.getToolTip() != 'redaction'){ // show menu } else{ ...
-
The WebAnnotationViewer needs to bind to the parent WebImageViewer's ZoomChanged event, setting this to a function of your own instead of using atalaEventAdd will cause it to break all annotation specific operations (such as automatically resizing annotations)
This is the recommended way to attach to this ...
-
How are you trying to ''identify'' these annotations?
Also, it is recommended that you use the WebAnnotationViewer's AnnotationClicked event if you are trying to execute a function when an annotation is clicked. Here is a sample:
atalaInitClientScript('OnPageLoad();');
function OnPageLoad(){ ...
-
Unfortunately there is no way to identify annotations by ID or Name on the client side. These are only accessible on the server side.
For a detailed list of available JavaScript properties, you can use this reference:http://www.atalasoft.com/products/dotimage/docs/Client%20Scripting%20in%20ASP.NET.html
Tha atalaAnnotation object is ...
|
|
|