LEADTOOLS Support
Medical
Medical SDK Questions
Is there a way to set the measurement associated with a ruler to two or three decimal places
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, March 31, 2008 2:59:28 AM(UTC)
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
#2
Posted
:
Monday, March 31, 2008 4:19:04 AM(UTC)
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)
Groups: Registered
Posts: 28
#4
Posted
:
Monday, March 31, 2008 11:17:30 PM(UTC)
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)
Groups: Registered
Posts: 28
sorry, Im using .Net with c#
#6
Posted
:
Thursday, April 3, 2008 12:18:55 AM(UTC)
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)
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)
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");
LEADTOOLS Support
Medical
Medical SDK Questions
Is there a way to set the measurement associated with a ruler to two or three decimal places
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.