This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Wednesday, January 30, 2013 10:21:08 AM(UTC)
Groups: Registered
Posts: 37
Hi
I am trying to figure how to access the measurement text of a AnnRulerObject.
I have a requirement where I need to change the measurement units between metric and english
and need to update any already existing annotations.
I am sure it is something simple I am missing, but I can't figure out where to access the string
that has the measurement text. If you could point me in the right direction I would appreciate it.
I am using Leadtools v 17.5 .Net libraries with C#.
Thanks
Tony
#2
Posted
:
Thursday, January 31, 2013 6:14:21 AM(UTC)
Groups: Registered
Posts: 256
Tony,
You can change the measurement unit of the AnnRulerObject by accessing AnnRulerObject.MeasurementUnit property. To change the unit for all the objects, you will need to access them one by one and change the value of the property. You can do this using a for loop to access all Ruler objects in the container.
#3
Posted
:
Thursday, January 31, 2013 8:21:02 AM(UTC)
Groups: Registered
Posts: 37
Daoud
Thanks. I didn't know that changing that would automatically update the length.
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.