annotation as a picture
annotation as a picture
Is it possible to set picture as an annotation? I would like to add for ex. a speech bubble svg icon as an annotation. I noticed it in the properties of annotation object + saw picture as an annotation in the "annotation demo".
Re: annotation as a picture
Hi,
This is possible from the server side only. From the client side the user will be able to edit its properties.
Cheers,
Loïc
This is possible from the server side only. From the client side the user will be able to edit its properties.
Cheers,
Loïc
Re: annotation as a picture
Loic, could you please give me a pointer how I can do it (which methods to use? )? I already have a picture in the project but I am not sure how can I create a brand new annotation and add it as a picture.
Thank you.
Thank you.
Re: annotation as a picture
Hi Loic,
I managed to create an image annotation by using annotationManager.AddEmbeddedImageAnnot(Bitmap,Single,Single,Single,Single)...i have no idea how i missed that. I was wondering though, what is the best way to get top and left coordinates where user clicked so I can draw the annotation there? What I do now is that with a click on a canvas, I create a sticky annotation with a unique text inside it that serves as ID. then I iterate through annotations on that page, find that sticky note, I take its TOP and LEFT value, delete it and insert an image annotation. Is there a better way?
I managed to create an image annotation by using annotationManager.AddEmbeddedImageAnnot(Bitmap,Single,Single,Single,Single)...i have no idea how i missed that. I was wondering though, what is the best way to get top and left coordinates where user clicked so I can draw the annotation there? What I do now is that with a click on a canvas, I create a sticky annotation with a unique text inside it that serves as ID. then I iterate through annotations on that page, find that sticky note, I take its TOP and LEFT value, delete it and insert an image annotation. Is there a better way?
Who is online
Users browsing this forum: No registered users and 2 guests