Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Display annotation per image
Started by roadman at 09-02-2008 3:35. Topic has 4 replies.

Print Search « Previous Thread Next Thread »
  09-02-2008, 3:35
roadman is not online. Last active: 12/12/2008 4:56:50 AM roadman

Top 25 Posts
Joined on 06-27-2007
Posts 104
Display annotation per image
Reply Quote

Currently, I have a RasterThumbnailBrowser and a RasterImageViewer Object in window form.
When user select a image from the RasterThumbnailBrowser, the corresponding image will be displayed in the RasterImageViewer.
Then, the user draw some annotations (from the Default Tool Bars of AnnAutomationManager) on the image of the viewer. e.g. draw a line annotation.The user then select another image for drawing another annotation. However, the line annotation still exist in the second image.

How can I remove/refresh the annotation?

 


   Report 
  09-02-2008, 5:05
roadman is not online. Last active: 12/12/2008 4:56:50 AM roadman

Top 25 Posts
Joined on 06-27-2007
Posts 104
Re: Display annotation per image
Reply Quote
Currently, i have to delete the link of RasterImageViewer and the AnnAutomationManager by disposing the automation object.
   Report 
  09-02-2008, 8:34
Adnan Ismail is not online. Last active: 1/6/2009 4:12:02 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,367
Re: Display annotation per image
Reply Quote
Do you want to discard the annotation objects when the image changes, or do you want to keep them associated with the original image on which the user drew them?
Adnan Ismail
LEADTOOLS Technical Support

   Report 
  09-02-2008, 10:30
roadman is not online. Last active: 12/12/2008 4:56:50 AM roadman

Top 25 Posts
Joined on 06-27-2007
Posts 104
Re: Display annotation per image
Reply Quote
To discard the annotation objects when the image changes
   Report 
  09-02-2008, 12:25
jigar is not online. Last active: 12/12/2008 5:08:42 PM jigar



Top 10 Posts
Joined on 08-22-2007
Posts 480
Re: Display annotation per image
Reply Quote
Let's say you have an AnnAutomation object called annAuto.  If you want to discard all the annotation objects, you can just call annAuto.Container.Objects.Clear().  This will remove all the annotation objects without having to destory/create any resources or objects.

LEADTOOLS Technical Support
   Report 
Post
LEAD Support Fo... » Developer » Annotations » Display annotation per image

Powered by Community Server, by Telligent Systems