This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, June 15, 2007 2:06:38 AM(UTC)
Groups: Registered
Posts: 8
We have to dispay annotations (tags) that contain information about the loaded (Dicom) image , such as patient name,id, window/level attributes, scale and both (vertical and horizontal) rulers. We want to implement them like you did in medical viewer control with built-in tags because that is exactly what we need. The problem is we need to do it in LeadRasterView control. What is the best way to do this?
Thanks in advance
#2
Posted
:
Monday, June 18, 2007 7:56:58 AM(UTC)
Groups: Registered, Tech Support
Posts: 207
Was thanked: 3 time(s) in 3 post(s)
Use our Annotations. You can create a Text annotation programmatically and position it. There is also a property on each of our annotations called "fixed" Set the fixed property to true and the annotation will not move while you scroll the image.
For an easy way to see an example of this, run our Main Annotation demo, open any image, and draw any annotation. Right click the annotation, select it's properties, then click Fixed... Check the check box then click Apply and Okay. Now scroll the image and you'll see that the annotation does not scroll with the image
Travis Montgomery
Senior Sales Engineer
#3
Posted
:
Tuesday, June 19, 2007 3:58:52 AM(UTC)
Groups: Registered
Posts: 8
Thanks for your answer. Unfortunately, our annotations should be displayed in corners of LAEDRasterView control, not on bitmap itself. This is the main reason why these text annotations may not be the best solution (if there is another). Annotations shouldn’t be scrolled (must be in their corners all the time), but should be able to size together with its parent control.
#4
Posted
:
Tuesday, June 19, 2007 4:41:43 AM(UTC)
Groups: Registered, Tech Support
Posts: 207
Was thanked: 3 time(s) in 3 post(s)
The annotations are simply a layer over the bitmap and you can programmatically position them anywhere you want. You can also programmatically adjust their size. When the parent is sized you should get an event. You can then resize the annotations in this event (by changing the font size)
When the annotation's Fixed property is set to True the annotations do not move when scrolled.
Travis Montgomery
Senior Sales Engineer
#5
Posted
:
Tuesday, June 19, 2007 6:21:13 AM(UTC)
Groups: Registered
Posts: 8
Thanks again ...and again we have the same problem this time attached to this post.
File Attachment(s):
Img.zip (27kb) downloaded 32 time(s).
#6
Posted
:
Tuesday, June 19, 2007 10:50:20 AM(UTC)
Groups: Registered, Tech Support
Posts: 207
Was thanked: 3 time(s) in 3 post(s)
I see what mean. You wont' be able to do that with our COM objects or any other interface other than our API.
Travis Montgomery
Senior Sales Engineer
#7
Posted
:
Wednesday, June 20, 2007 12:51:03 AM(UTC)
Groups: Registered
Posts: 8
Thanks a lot. It works with L_AnnDraw function...
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.