Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, April 4, 2011 6:54:30 AM(UTC)

Danny H  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

I have had a few questions come up recently regarding the use of annotation events in medical viewers. There are a few things to make note of when doing this.



First of all, the GetAnnotationContainer Method actually returns a Clone of the current AnnContainer object and is not valid for registering events. Though you could use this in conjunction with SetAnnotationContainer method and this would work. This is important for working with AfterDrawObjects and BeforeDrawObjects events of the AnnContainer object. In the attachment you can find the manner in which I register these events to the entire viewer.

Though this works there is a faster and easier way to doing so.

Something else that I feel needs to be mentioned is grabbing the selected annotation. You can find a snippet of how this is achieved in the attachment as well.

I believe this will help those of you working with more advanced annotation features with our medical viewers.
File Attachment(s):
MedicalAnnotations.txt (2kb) downloaded 69 time(s).
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.038 seconds.