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, March 31, 2008 2:59:28 AM(UTC)
leftback

Groups: Registered
Posts: 28


At present the measurement label next to the ruler only seems to show any measurement to one decimal place. I would like to override this to display any other ammount of decimal places. Can this be done?

Thanks
 

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.

#2 Posted : Monday, March 31, 2008 4:19:04 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

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

What version of LEADTOOLS toolkit and what is the LEADTOOLS programming interface (DLL API, .NET Classes, C++ Class Library, etc.) you are using?
 
#3 Posted : Monday, March 31, 2008 10:41:06 PM(UTC)
leftback

Groups: Registered
Posts: 28


version 15
 
#4 Posted : Monday, March 31, 2008 11:17:30 PM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

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

You did not answer my second question about the what LEADTOOLS programming interface (DLL API, .NET Classes, C++ Class Library, etc.) you are using. Which one of these programming interfaces you are using?
 
#5 Posted : Wednesday, April 2, 2008 10:59:14 PM(UTC)
leftback

Groups: Registered
Posts: 28


sorry, Im using .Net with c#
 
#6 Posted : Thursday, April 3, 2008 12:18:55 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

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

You can display other amounts of decimal places using the AnnRulerObject.Precision property. For more information about this property, please see the help topic in our .NET help file:
Precision Property

 
#7 Posted : Thursday, April 3, 2008 3:29:45 AM(UTC)
leftback

Groups: Registered
Posts: 28


Is there a quick way from a c# class, that uses the measurement annotation on a medical viewer, to access the current measurement annotation action and set its precision property?
 
#8 Posted : Sunday, April 6, 2008 5:59:20 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

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




There is no direct way to edit the properties of the
annotation objects on a MedicalViewer cell or sub-cell. To be able to change
the annotation objects properties, you will need to use the Document Imaging functions to change these properties.




Our engineers added new functions to the Medical Viewer that allows you to save and load .ANN file.














To achieve your requirements you need to do the following:
- Save the annotation ruler object you draw as a .ANN file using the following method:
  MedicalViewer.Cells[0].SaveAnnotations("c:\\Ruler.ann");
- Use the LEADTOOLS Document Imaging functions to change the properties of the annotation ruler object in the .ANN file
- Save the modified .ANN file
- Use the following new function to load the annotation object back on the cell:
  MedicalViewer.Cells[0].LoadAnnotations("c:\\Ruler.ann");

 
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.067 seconds.