Welcome to LEAD Support Forum Login | Register | Faq  

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

Re: How can i draw the polygon annotation in Medical Viewer Control?
Started by Gunasekaran at 07-02-2008 3:04. Topic has 5 replies.

Print Search « Previous Thread Next Thread »
  07-02-2008, 3:04
Gunasekaran is not online. Last active: 8/27/2008 5:29:09 AM Gunasekaran

Top 25 Posts
Joined on 05-07-2008
Chennai,India
Posts 95
How can i draw the polygon annotation in Medical Viewer Control?
Reply Quote
Hello dude

    I am using lead tools latest pateches evaluation version 15.0. i am working Medical Viewer project Using VB.NET platform, i want to draw the polygon in the image using medical viewer control, i can draw line,rectangle etc but i can't draw polygon can u help?

Thanks and Regards
Guna
   Report 
  07-02-2008, 10:55
Yasir Alani is not online. Last active: 8/19/2008 2:17:58 PM Yasir Alani



Top 25 Posts
Joined on 02-05-2007
Posts 202
Re: How can i draw the polygon annotation in Medical Viewer Control?
Reply Quote
You can select a polygon region by using the PolygonRegion member value of the MedicalViewerActionType enumeration.

This is demonstrated in our VB.NET Medical Viewer Project sample, and is documented in the help topic "MedicalViewerActionType Enumeration" in the Raster .NET Class Library Help file.
   Report 
  07-03-2008, 2:53
Gunasekaran is not online. Last active: 8/27/2008 5:29:09 AM Gunasekaran

Top 25 Posts
Joined on 05-07-2008
Chennai,India
Posts 95
Re: How can i draw the polygon annotation in Medical Viewer Control?
Reply Quote

Hi Dude

           Thanks for the reply..  i don't want Polygon region, but i need Polygon Annotation in Medical viewer control. How can i draw the polygon Annotation in Medical viewer control.



Thanks and Regards
Guna
   Report 
  07-03-2008, 10:53
Yasir Alani is not online. Last active: 8/19/2008 2:17:58 PM Yasir Alani



Top 25 Posts
Joined on 02-05-2007
Posts 202
Re: How can i draw the polygon annotation in Medical Viewer Control?
Reply Quote
Yes you can do that too.

Please see this help topic
http://www.leadtools.com/Help/LEADTOOLS/v15/DH/TO/Leadtools.Topics~Leadtools.Topics.AnnPolygonObject.html


   Report 
  07-04-2008, 0:55
Gunasekaran is not online. Last active: 8/27/2008 5:29:09 AM Gunasekaran

Top 25 Posts
Joined on 05-07-2008
Chennai,India
Posts 95
Re: How can i draw the polygon annotation in Medical Viewer Control?
Reply Quote
Hello Dude

 Thanks for the link, actually i need polygon annotation using freehand like draw polygon region not Programmatically. I need to draw polygon annotation by manually. Thanks

Thanks and Regards
Guna
   Report 
  07-06-2008, 11:27
Yasir Alani is not online. Last active: 8/19/2008 2:17:58 PM Yasir Alani



Top 25 Posts
Joined on 02-05-2007
Posts 202
Re: How can i draw the polygon annotation in Medical Viewer Control?
Reply Quote
You should be able to do this using the AnnPolylineObject Class of the Leadtools.Annotations Namespace.

Please see this page for details:
http://www.leadtools.com/Help/LEADTOOLS/v15/DH/AN/Leadtools.Annotations~Leadtools.Annotations.AnnPolylineObject.html

However, there is no direct way to transfer the annotations objects from and to the medical viewer in LEADTOOLS 15. But you can create the annotation object using a container associated with a RasterImageViewer control, then save the annotations to a file using the AnnCodecs.Save method, then use the medicalViewer.Cells[0].LoadAnnotations() method to load them into the viewer.
   Report 
Post
LEAD Support Fo... » Developer » General » Re: How can i draw the polygon annotation in Medical Viewer Control?

Powered by Community Server, by Telligent Systems